rust/tests/ui/panic-handler
Nilstrieb da26317a8a Stop mentioning internal lang items in no_std binary errors
When writing a no_std binary, you'll be greeted with nonsensical errors
mentioning lang items like eh_personality and start. That's pretty bad
because it makes you think that you need to define them somewhere! But
oh no, now you're getting the `internal_features` lint telling you that
you shouldn't use them! But you need a no_std binary! What now?

No problem! Writing a no_std binary is super easy. Just use panic=abort
and supply your own platform specific entrypoint symbol (like `main`)
and you're good to go. Would be nice if the compiler told you that,
right?

This makes it so that it does do that.
2024-01-10 21:18:54 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-bad-signature-1.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
panic-handler-bad-signature-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-bad-signature-2.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
panic-handler-bad-signature-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-bad-signature-3.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
panic-handler-bad-signature-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-bad-signature-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-bad-signature-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-bad-signature-5.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
panic-handler-bad-signature-5.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-duplicate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-duplicate.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
panic-handler-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-requires-panic-info.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-requires-panic-info.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-std.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-std.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
panic-handler-twice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-with-target-feature.rs Prevent using #[target_feature] on lang item functions 2023-09-18 20:11:01 +02:00
panic-handler-with-target-feature.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-handler-wrong-location.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
panic-handler-wrong-location.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
weak-lang-item-2.rs change test to use if black_box(false) 2023-08-07 15:42:24 +02:00
weak-lang-item.rs Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
weak-lang-item.stderr Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00