forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d7e9a7
commit e87fcc0
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// check-pass | ||
// This is currently stable behavior, which was almost accidentally made an | ||
// error in #102161 since there is no test exercising it. I am not sure if | ||
// this _should_ be the desired behavior, but at least we should know if it | ||
// changes. | ||
|
||
fn main() {} | ||
|
||
trait Foo { | ||
fn fn_with_type_named_same_as_local_in_param(b: i32, b: i32); | ||
} |