Skip to content

Commit e87fcc0

Browse files
Add test
1 parent 3d7e9a7 commit e87fcc0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
}

0 commit comments

Comments
 (0)