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

12 lines
367 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
|
2018-02-22 18:42:32 -06:00
LL | impl (u8, u8) { //~ ERROR E0118
2018-02-07 21:35:35 -06:00
| ^^^^^^^^ 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
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0118`.