rust/src/test/ui/error-codes/E0197.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

9 lines
250 B
Text

error[E0197]: inherent impls cannot be unsafe
--> $DIR/E0197.rs:13:1
|
LL | unsafe impl Foo { } //~ ERROR E0197
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0197`.