about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/coherence/ambiguity-causes-visitor-hang.stderr
blob: 3731dc5b74ec02fe0eabb785e3ea3e6de6632982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0119]: conflicting implementations of trait `Overlap` for type `Box<_>`
  --> $DIR/ambiguity-causes-visitor-hang.rs:53:1
   |
LL | impl<T: RecursiveSuper> Overlap for T {}
   | ------------------------------------- first implementation here
LL | impl<T> Overlap for Box<T> {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Box<_>`
   |
   = note: downstream crates may implement trait `Super` for type `std::boxed::Box<_>`
   = note: downstream crates may implement trait `RecursiveSuper` for type `std::boxed::Box<_>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0119`.