about summary refs log tree commit diff
path: root/tests/ui/specialization/dont-drop-upcast-candidate.stderr
blob: dc0c54f9aa82f3f814834e1728d540bc1fe07292 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0119]: conflicting implementations of trait `Bar` for type `()`
  --> $DIR/dont-drop-upcast-candidate.rs:10:1
   |
LL | impl<T> Bar for T where dyn Foo: Unsize<dyn Bar> {}
   | ------------------------------------------------ first implementation here
LL | impl Bar for () {}
   | ^^^^^^^^^^^^^^^ conflicting implementation for `()`

error: aborting due to 1 previous error

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