rust/src/test/ui/error-codes/E0118.stderr

11 lines
299 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0118]: no base type found for inherent implementation
--> $DIR/E0118.rs:11:6
|
11 | impl (u8, u8) { //~ ERROR E0118
| ^^^^^^^^ impl requires a base type
|
= note: either implement a trait on it or create a newtype to wrap it instead
error: aborting due to previous error