]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0197]: inherent impls cannot be unsafe |
6a06907d | 2 | --> $DIR/safety-inherent-impl.rs:5:13 |
b7449926 | 3 | | |
ba9703b0 XL |
4 | LL | unsafe impl SomeStruct { |
5 | | ------ ^^^^^^^^^^ inherent impl for this type | |
74b04a01 | 6 | | | |
ba9703b0 | 7 | | unsafe because of this |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0197`. |