rust/tests/ui/resolve/issue-69401-trait-fn-no-body-ty-local.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
142 B
Rust
Raw Normal View History

fn main() {}
trait Foo {
fn fn_with_type_named_same_as_local_in_param(b: b);
2022-06-05 16:33:09 +00:00
//~^ ERROR cannot find type `b` in this scope [E0412]
}