]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/safety-inherent-impl.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / safety-inherent-impl.stderr
CommitLineData
b7449926 1error[E0197]: inherent impls cannot be unsafe
6a06907d 2 --> $DIR/safety-inherent-impl.rs:5:13
b7449926 3 |
ba9703b0
XL
4LL | unsafe impl SomeStruct {
5 | ------ ^^^^^^^^^^ inherent impl for this type
74b04a01 6 | |
ba9703b0 7 | unsafe because of this
b7449926
XL
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0197`.