]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-69401-trait-fn-no-body-ty-local.rs
1 fn main() {}
2
3 trait Foo {
4     fn fn_with_type_named_same_as_local_in_param(b: b);
5     //~^ ERROR cannot find type `b` in this scope [E0412]
6 }