about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/specializing-constness.stderr
blob: f411ebcdfcac54e658b51d1e8eeeb3cf5aa6ff1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `A`
  --> $DIR/specializing-constness.rs:23:1
   |
LL | impl<T: [const] Spec> const A for T {
   | ----------------------------------- first implementation here
...
LL | impl<T: Spec + Sup> A for T {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation

error: aborting due to 1 previous error

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