rust/tests/ui/lang-items
bors aace2dfa37 Auto merge of #115910 - eduardosm:lang-fns-target-features, r=cjgillot
Prevent using `#[target_feature]` on lang item functions

Fixes https://github.com/rust-lang/rust/issues/109411 and also prevents from using `#[target_feature]` on other `fn` lang items to mitigate the concerns from https://github.com/rust-lang/rust/issues/109411#issuecomment-1477030273.
2023-09-22 05:07:45 +00: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 Add ICE test for bad Add::add impl item type 2023-02-16 20:58:48 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Tweak wording 2023-02-16 20:52:29 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-item-generic-requirements.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-item-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lang-item-missing.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-clone-for-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-clone-for-suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
required-lang-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
required-lang-item.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
start_lang_item_args.argc.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.argv_inner_ptr.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.argv.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.main_args.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.main_ret.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.main_ty.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.missing_all_args.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.missing_ret.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.missing_sigpipe_arg.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02: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 rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.start_ret.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02:00
start_lang_item_args.too_many_args.stderr rustc_hir_analysis: add a helper to check function the signature mismatches 2023-09-19 18:15:23 +02: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 Prevent using #[target_feature] on lang item functions 2023-09-18 20:11:01 +02:00