]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0197.stderr
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[rust.git] / src / test / ui / error-codes / E0197.stderr
1 error[E0197]: inherent impls cannot be unsafe
2   --> $DIR/E0197.rs:3:13
3    |
4 LL | unsafe impl Foo { }
5    | ------      ^^^ inherent impl for this type
6    | |
7    | unsafe because of this
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0197`.