rust/tests/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
2023-01-11 09:32:08 +00:00

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