]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/safety-inherent-impl.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / traits / safety-inherent-impl.stderr
1 error[E0197]: inherent impls cannot be unsafe
2   --> $DIR/safety-inherent-impl.rs:5:13
3    |
4 LL | unsafe impl SomeStruct {
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`.