]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/name-collision-in-trait-fn-sig.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / resolve / name-collision-in-trait-fn-sig.rs
1 // check-pass
2 // This is currently stable behavior, which was almost accidentally made an
3 // error in #102161 since there is no test exercising it. I am not sure if
4 // this _should_ be the desired behavior, but at least we should know if it
5 // changes.
6
7 fn main() {}
8
9 trait Foo {
10 fn fn_with_type_named_same_as_local_in_param(b: i32, b: i32);
11 }