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

10 lines
260 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0197]: inherent impls cannot be unsafe
--> $DIR/E0197.rs:13:1
|
2018-02-22 18:42:32 -06:00
LL | unsafe impl Foo { } //~ ERROR E0197
2018-02-07 21:35:35 -06:00
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0197"