summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2632-const-trait-impl/specialization/const-default-bound-non-const-specialized-bound.stderr
blob: 4aea1979421c36d09fcbe236790bd8942cbd4b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: missing `~const` qualifier for specialization
  --> $DIR/const-default-bound-non-const-specialized-bound.rs:28:8
   |
LL |     T: Foo,
   |        ^^^

error[E0119]: conflicting implementations of trait `Baz`
  --> $DIR/const-default-bound-non-const-specialized-bound.rs:40:1
   |
LL | impl<T> const Baz for T
   | ----------------------- first implementation here
...
LL | impl<T> const Baz for T
   | ^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation

error: aborting due to 2 previous errors

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