rust/tests/ui/resolve/issue-69401-trait-fn-no-bod...

7 lines
142 B
Rust

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]
}