]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs
Rollup merge of #101292 - rust-lang:notriddle/rustdoc-table-first-child, r=GuillaumeGomez
[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 [E0412]
6 }