rust/src/test/ui/panic-handler
David Wood 2ecce7ccc5
Extend lang items to assert correct target.
This commit extends the existing lang items functionality to assert
that the `#[lang_item]` attribute is only found on the appropriate item
for any given lang item. That is, language items representing traits
must only ever have their corresponding attribute placed on a trait, for
example.
2018-10-11 19:36:51 +02:00
..
auxiliary stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-1.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-1.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-2.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-2.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-3.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-3.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-4.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-bad-signature-4.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-duplicate.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-duplicate.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-requires-panic-info.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-requires-panic-info.stderr add #[panic_handler]; deprecate #[panic_implementation] 2018-08-23 20:58:55 +02:00
panic-handler-std.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-std.stderr stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-handler-wrong-location.rs Extend lang items to assert correct target. 2018-10-11 19:36:51 +02:00
panic-handler-wrong-location.stderr Extend lang items to assert correct target. 2018-10-11 19:36:51 +02:00