diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-06 16:28:07 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-13 14:02:15 +0000 |
| commit | dba1503ed3c364f388128d42633ba00258ffad49 (patch) | |
| tree | 139f6c98213bbba7a495da14114555775e6f8e31 /src/test/ui/panic-handler/panic-handler-std.stderr | |
| parent | 928d14bcd1976ffd33e743aa09c7c22a063bf87c (diff) | |
| download | rust-dba1503ed3c364f388128d42633ba00258ffad49.tar.gz rust-dba1503ed3c364f388128d42633ba00258ffad49.zip | |
Ensure codegen_fn_attrs during collection.
Diffstat (limited to 'src/test/ui/panic-handler/panic-handler-std.stderr')
| -rw-r--r-- | src/test/ui/panic-handler/panic-handler-std.stderr | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/test/ui/panic-handler/panic-handler-std.stderr b/src/test/ui/panic-handler/panic-handler-std.stderr index e4069b196ff..7c7feffe76a 100644 --- a/src/test/ui/panic-handler/panic-handler-std.stderr +++ b/src/test/ui/panic-handler/panic-handler-std.stderr @@ -8,12 +8,6 @@ LL | fn panic(info: PanicInfo) -> ! { = note: first definition in `std` loaded from SYSROOT/libstd-*.rlib = note: second definition in the local crate (`panic_handler_std`) -error: argument should be `&PanicInfo` - --> $DIR/panic-handler-std.rs:8:16 - | -LL | fn panic(info: PanicInfo) -> ! { - | ^^^^^^^^^ - -error: aborting due to 2 previous errors +error: aborting due to previous error For more information about this error, try `rustc --explain E0152`. |
