summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
blob: c377ecea94d0c4ab2deda58974bae6077bb08506 (plain)
1
2
3
4
5
6
fn main() {}

trait Foo {
    fn fn_with_type_named_same_as_local_in_param(b: b);
    //~^ ERROR cannot find type `b` in this scope [E0412]
}