]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
[rust.git] / src / test / 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
6 }