rust/tests/ui/specialization/min_specialization/specialize_nothing.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

15 lines
359 B
Plaintext

error: specialization impl does not specialize any associated items
--> $DIR/specialize_nothing.rs:11:1
|
LL | impl Special for usize {}
| ^^^^^^^^^^^^^^^^^^^^^^
|
note: impl is a specialization of this impl
--> $DIR/specialize_nothing.rs:7:1
|
LL | impl<T> Special for T {
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error