rust/src/test/ui/specialization/min_specialization/specialization_super_trait.stderr

12 lines
238 B
Plaintext
Raw Normal View History

error: cannot specialize on trait `std::default::Default`
--> $DIR/specialization_super_trait.rs:13:1
|
LL | / impl<T: Default> SpecMarker for T {
LL | |
LL | | fn f() {}
LL | | }
| |_^
error: aborting due to previous error