rust/tests/ui/coherence/occurs-check/opaques.current.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
423 B
Plaintext
Raw Normal View History

2024-09-21 02:02:51 -05:00
error[E0119]: conflicting implementations of trait `Trait<_>`
2024-09-21 02:05:19 -05:00
--> $DIR/opaques.rs:28:1
2024-09-21 02:02:51 -05:00
|
LL | impl<T> Trait<T> for T {
| ---------------------- first implementation here
...
LL | impl<T> Trait<T> for defining_scope::Alias<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0119`.