summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/specialization/const-default-bound-non-const-specialized-bound.stderr
blob: 057cf4aea8a0f4a29b12ad60db669d2b004eaa3e (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:32:8
   |
LL |     T: Foo,
   |        ^^^

error[E0119]: conflicting implementations of trait `Baz`
  --> $DIR/const-default-bound-non-const-specialized-bound.rs:50: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`.