diff options
Diffstat (limited to 'tests/ui/error-codes/E0407.stderr')
-rw-r--r-- | tests/ui/error-codes/E0407.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0407.stderr b/tests/ui/error-codes/E0407.stderr new file mode 100644 index 000000000..6f6d1ff6a --- /dev/null +++ b/tests/ui/error-codes/E0407.stderr @@ -0,0 +1,12 @@ +error[E0407]: method `b` is not a member of trait `Foo` + --> $DIR/E0407.rs:9:5 + | +LL | fn b() {} + | ^^^-^^^^^ + | | | + | | help: there is an associated function with a similar name: `a` + | not a member of trait `Foo` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0407`. |