rust/tests/ui/panic-handler
Alexandru RADOVICI 07c7e5ffb3 error when using no_mangle on language items
add suggestion on how to add a panic breakpoint

Co-authored-by: Pat Pannuto <pat.pannuto@gmail.com>
delete no_mangle from ui/panic-handler/panic-handler-wrong-location test

issue an error for the usage of #[no_mangle] on internal language items

delete the comments

add newline

rephrase note

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
update error not to leak implementation details

delete no_mangle_span

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
delete commented code
2025-04-30 14:54:10 +03:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-handler-bad-signature-1.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
panic-handler-bad-signature-1.stderr show fnsig's output when there is difference 2024-07-06 23:29:58 +08:00
panic-handler-bad-signature-2.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-handler-duplicate.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
panic-handler-missing.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
panic-handler-requires-panic-info.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-handler-requires-panic-info.stderr Remove some unnecessary check logic for lang items in HIR typeck 2024-01-29 19:48:44 +00:00
panic-handler-std.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
panic-handler-std.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
panic-handler-twice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-handler-with-target-feature.rs Stabilize target_feature_11 2025-01-27 23:44:47 +01:00
panic-handler-with-target-feature.stderr Stabilize target_feature_11 2025-01-27 23:44:47 +01:00
panic-handler-with-track-caller.rs weak lang items are not allowed to be #[track_caller] 2024-04-17 12:59:55 +02:00
panic-handler-with-track-caller.stderr fix typo in 'lang item with track_caller' message 2024-10-05 17:12:46 +02:00
panic-handler-wrong-location.rs error when using no_mangle on language items 2025-04-30 14:54:10 +03:00
panic-handler-wrong-location.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
weak-lang-item-2.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
weak-lang-item.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
weak-lang-item.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00