2018-08-08 07:28:26 -05:00
|
|
|
error[E0197]: inherent impls cannot be unsafe
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/trait-safety-inherent-impl.rs:5:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-03-04 18:15:23 -06:00
|
|
|
LL | unsafe impl SomeStruct {
|
|
|
|
| ^^^^^^ ^^^^^^^^^^ inherent impl for this type
|
2020-01-29 19:42:33 -06:00
|
|
|
| |
|
2020-03-04 18:15:23 -06:00
|
|
|
| unsafe because of this
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0197`.
|