diff options
Diffstat (limited to 'tests/ui/error-codes/E0415.stderr')
-rw-r--r-- | tests/ui/error-codes/E0415.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0415.stderr b/tests/ui/error-codes/E0415.stderr new file mode 100644 index 000000000..c2b8fdc7c --- /dev/null +++ b/tests/ui/error-codes/E0415.stderr @@ -0,0 +1,9 @@ +error[E0415]: identifier `f` is bound more than once in this parameter list + --> $DIR/E0415.rs:1:16 + | +LL | fn foo(f: i32, f: i32) {} + | ^ used as parameter more than once + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0415`. |