]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[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 }