2022-03-29 02:47:32 -05:00
|
|
|
error[E0118]: no nominal type found for inherent implementation
|
2023-02-11 17:17:38 -06:00
|
|
|
--> $DIR/E0118.rs:1:1
|
2022-03-29 02:47:32 -05:00
|
|
|
|
|
2022-06-16 16:14:38 -05:00
|
|
|
LL | impl<T> T {
|
2023-02-11 17:17:38 -06:00
|
|
|
| ^^^^^^^^^ 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`.
|