summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-56806.rs
blob: b1dac26d65a15552b0171de954b53273a0e4f8f0 (plain)
1
2
3
4
5
6
pub trait Trait {
    fn dyn_instead_of_self(self: Box<dyn Trait>);
    //~^ ERROR invalid `self` parameter type
}

pub fn main() {}