rust/tests/ui/traits/const-traits/specialization/const-default-bound-non-const-specialized-bound.stderr
2024-10-24 09:46:36 +00:00

12 lines
325 B
Plaintext

error: cannot specialize on const impl with non-const impl
--> $DIR/const-default-bound-non-const-specialized-bound.rs:28:1
|
LL | / impl<T> Bar for T
LL | | where
LL | | T: Foo, //FIXME ~ ERROR missing `~const` qualifier
LL | | T: Specialize,
| |__________________^
error: aborting due to 1 previous error