2022-03-29 02:47:32 -05:00
|
|
|
error[E0118]: no nominal type found for inherent implementation
|
2022-06-16 16:14:38 -05:00
|
|
|
--> $DIR/E0118.rs:1:9
|
2022-03-29 02:47:32 -05:00
|
|
|
|
|
2022-06-16 16:14:38 -05:00
|
|
|
LL | impl<T> T {
|
|
|
|
| ^ impl requires a nominal type
|
2022-03-29 02:47:32 -05:00
|
|
|
|
|
|
|
|
= note: either implement a trait on it or create a newtype to wrap it instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0118`.
|