diff options
Diffstat (limited to 'tests/ui/error-codes/e0119/so-37347311.stderr')
-rw-r--r-- | tests/ui/error-codes/e0119/so-37347311.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/error-codes/e0119/so-37347311.stderr b/tests/ui/error-codes/e0119/so-37347311.stderr new file mode 100644 index 000000000..99367e808 --- /dev/null +++ b/tests/ui/error-codes/e0119/so-37347311.stderr @@ -0,0 +1,12 @@ +error[E0119]: conflicting implementations of trait `From<MyError<_>>` for type `MyError<_>` + --> $DIR/so-37347311.rs:11:1 + | +LL | impl<S: Storage> From<S::Error> for MyError<S> { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = note: conflicting implementation in crate `core`: + - impl<T> From<T> for T; + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0119`. |