]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0197.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0197.stderr
1 error[E0197]: inherent impls cannot be unsafe
2   --> $DIR/E0197.rs:3:1
3    |
4 LL | unsafe impl Foo { } //~ ERROR E0197
5    | ^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0197`.