rust/tests/ui/lang-items
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
..
bad-add-impl.rs Add ICE test for bad Add::add impl item type 2023-02-16 20:58:48 +00:00
bad-add-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-fn_mut-call-ill-formed.bad_item.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.bad_sig.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_bad_item.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_bad_sig.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_mut_bad_item.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_mut_bad_sig.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_once_bad_item.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.fn_once_bad_sig.stderr Tweak wording 2023-02-16 20:52:29 +00:00
fn-fn_mut-call-ill-formed.rs Move call trait lang item malformed check to typeck 2023-02-16 20:37:33 +00:00
issue-19660.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-19660.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-31076.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-31076.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83471.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83471.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86238.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-86238.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-87573.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87573.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-item-generic-requirements.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
lang-item-generic-requirements.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
lang-item-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-item-missing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-clone-for-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-clone-for-suggestion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
required-lang-item.rs Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
required-lang-item.stderr Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
start_lang_item_args.argc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.argv_inner_ptr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.argv.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.main_args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.main_ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.main_ty.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.missing_all_args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.missing_ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.missing_sigpipe_arg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.rs rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.sigpipe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.start_ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_args.too_many_args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
start_lang_item_with_target_feature.rs Prevent using #[target_feature] on lang item functions 2023-09-18 20:11:01 +02:00
start_lang_item_with_target_feature.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00