fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
354 B13 linesraw
1error[E0200]: the trait `lib::Foo` requires an `unsafe impl` declaration
2  --> $DIR/trait-safety-trait-impl-cc.rs:9:1
3   |
4LL | / impl lib::Foo for Bar {
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`.