blob: f58dcd791da1d754fd9de5ea49d86dfe97bdaf16 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0197]: inherent impls cannot be unsafe
--> $DIR/E0197.rs:3:1
|
LL | unsafe impl Foo { } //~ ERROR E0197
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0197`.
|