]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/trait-safety-trait-impl-cc.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / traits / trait-safety-trait-impl-cc.stderr
CommitLineData
1b1a35ee 1error[E0200]: the trait `Foo` requires an `unsafe impl` declaration
0731742a 2 --> $DIR/trait-safety-trait-impl-cc.rs:9:1
b7449926 3 |
532ac7d7 4LL | / impl lib::Foo for Bar {
b7449926
XL
5LL | | fn foo(&self) -> isize {
6LL | | panic!();
7LL | | }
8LL | | }
9 | |_^
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0200`.