rust/tests/ui/attributes
Pavel Grigorenko b9033bdd92 New `#[rustc_pub_transparent]` attribute 2024-08-24 23:05:37 +03:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
main-removed-2 [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unsafe Stabilize `unsafe_attributes` 2024-08-07 03:12:13 -05:00
arg-error-issue-121425.rs fix spans of arguments in diagnostic 2024-03-03 10:48:40 +08:00
arg-error-issue-121425.stderr fix spans of arguments in diagnostic 2024-03-03 10:48:40 +08:00
assoc-expr.rs Overhaul token collection. 2024-08-16 09:07:55 +10:00
attr-before-view-item.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-before-view-item2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attr-eq-token-tree.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-eq-token-tree.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
attr-mix-new.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
attrs-on-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-on-params.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
attrs-with-no-formal-in-generics-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
attrs-with-no-formal-in-generics-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-with-no-formal-in-generics-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-builtin-attr-ice.rs tests: add regression test for incorrect "builtin attribute is checked" assertion ICE 2024-08-04 01:50:55 +00:00
check-builtin-attr-ice.stderr tests: add regression test for incorrect "builtin attribute is checked" assertion ICE 2024-08-04 01:50:55 +00:00
check-cfg_attr-ice.rs tests: add regression test to make sure `cfg_attr` isn't considered unhandled 2024-08-06 06:12:10 +00:00
check-cfg_attr-ice.stderr tests: add regression test to make sure `cfg_attr` isn't considered unhandled 2024-08-06 06:12:10 +00:00
class-attributes-1.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
class-attributes-2.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
collapse-debuginfo-invalid.rs debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[collapse_debuginfo]` 2024-04-25 22:14:47 +03:00
collapse-debuginfo-invalid.stderr debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[collapse_debuginfo]` 2024-04-25 22:14:47 +03:00
const-stability-on-macro.rs Update `since` stability attributes in tests 2023-10-23 13:04:47 -07:00
const-stability-on-macro.stderr Update `since` stability attributes in tests 2023-10-23 13:04:47 -07:00
doc-attr.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc-attr.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc-test-literal.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc-test-literal.stderr Update ui tests 2024-02-29 14:43:43 +01:00
dump-preds.rs Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
dump-preds.stderr rustc_type_ir: derivative -> derive-where 2024-07-12 21:52:04 +03:00
dump_def_parents.rs Always use a colon in `//@ normalize-*:` headers 2024-07-11 12:23:44 +10:00
dump_def_parents.stderr add `rustc_dump_def_parents` attribute 2024-06-30 19:31:21 +01:00
duplicated-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
duplicated-attributes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extented-attribute-macro-error.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
extented-attribute-macro-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
field-attributes-vis-unresolved.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
field-attributes-vis-unresolved.stderr Structured suggestion for `extern crate foo` when `foo` isn't resolved in import 2024-07-29 23:49:51 +00:00
invalid-repr.rs add test for invalid places of repr align 2023-04-17 12:42:02 +00:00
invalid-repr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid_macro_export_argument.deny.stderr Add invalid_macro_export_arguments to built-in macro list 2023-04-27 18:33:39 +00:00
invalid_macro_export_argument.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-40962.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-90873.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
issue-90873.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-100631.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-100631.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-105594-invalid-attr-validation.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-105594-invalid-attr-validation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-115264-expr-field.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
issue-115264-pat-field.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
item-attributes.rs Remove libc from rust_get_test_int uses 2024-04-17 09:18:14 -04:00
key-value-expansion-on-mac.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
key-value-expansion-on-mac.stderr Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
key-value-expansion-scope-pass.rs resolve: Implement a lint for out-of-scope use of `macro_rules` 2024-06-24 17:12:08 +03:00
key-value-expansion-scope.rs resolve: Implement a lint for out-of-scope use of `macro_rules` 2024-06-24 17:12:08 +03:00
key-value-expansion-scope.stderr resolve: Implement a lint for out-of-scope use of `macro_rules` 2024-06-24 17:12:08 +03:00
key-value-expansion.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
key-value-expansion.stderr Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
key-value-non-ascii.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
key-value-non-ascii.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
linkage.rs Emit an error for invalid use of the linkage attribute 2024-08-17 15:03:20 +09:00
linkage.stderr Emit an error for invalid use of the linkage attribute 2024-08-17 15:03:20 +09:00
log-backtrace.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
macro_export_on_decl_macro.rs check_attrs: Warn when #[macro_export] is used on macros 2.0 2023-08-07 21:14:28 +02:00
macro_export_on_decl_macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
main-removed-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
main-removed-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
may_dangle.rs Check that `#[may_dangle]` is properly applied 2024-08-18 20:32:00 +03:00
may_dangle.stderr Check that `#[may_dangle]` is properly applied 2024-08-18 20:32:00 +03:00
method-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
multiple-invalid.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiple-invalid.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-mangle-closure.rs Skip no_mangle if the item has no name. 2023-03-28 18:05:12 +00:00
no-mangle-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-sanitize.rs Emit an error for invalid use of the `#[no_sanitize]` attribute 2024-08-05 19:07:32 +09:00
no-sanitize.stderr Emit an error for invalid use of the `#[no_sanitize]` attribute 2024-08-05 19:07:32 +09:00
nonterminal-expansion.rs Fix parse error message for meta items 2024-05-10 09:16:27 +02:00
nonterminal-expansion.stderr Fix parse error message for meta items 2024-05-10 09:16:27 +02:00
obsolete-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
obsolete-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
optimize.rs Emit an error if `#[optimize]` is applied to an incompatible item 2024-07-31 20:28:00 +00:00
optimize.stderr Emit an error if `#[optimize]` is applied to an incompatible item 2024-07-31 20:28:00 +00:00
rustc-box.rs Restrict `#[rustc_box]` to `Box::new` calls 2023-03-02 02:42:19 +00:00
rustc-box.stderr Restrict `#[rustc_box]` to `Box::new` calls 2023-03-02 02:42:19 +00:00
rustc_confusables.rs Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
rustc_confusables.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
rustc_confusables_std_cases.rs Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
rustc_confusables_std_cases.stderr Note for E0599 if shadowed bindings has the method. 2024-05-20 18:53:17 +08:00
rustc_pub_transparent.rs New `#[rustc_pub_transparent]` attribute 2024-08-24 23:05:37 +03:00
rustc_pub_transparent.stderr New `#[rustc_pub_transparent]` attribute 2024-08-24 23:05:37 +03:00
statement-attribute-validation.rs Add regression test for #117058 2023-10-24 08:21:52 +00:00
statement-attribute-validation.stderr Add regression test for #117058 2023-10-24 08:21:52 +00:00
suffixed-literal-meta.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suffixed-literal-meta.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tool_attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unknown-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-attr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed-field-attributes-dup.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unnamed-field-attributes-vis.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unnamed-field-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unrestricted-attribute-tokens.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
unused-item-in-attr.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
unused-item-in-attr.stderr Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
used-issue-126789.rs Show `used attribute`'s kind for user when find it isn't applied to a `static` variable. 2024-06-29 19:39:09 +08:00
used-issue-126789.stderr Show `used attribute`'s kind for user when find it isn't applied to a `static` variable. 2024-06-29 19:39:09 +08:00
used_with_arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_arg_no_mangle.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
used_with_multi_args.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used_with_multi_args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
validation-on-associated-items-issue-121537.rs fix attribute validation on associated items in traits 2024-02-24 08:14:38 -05:00
validation-on-associated-items-issue-121537.stderr fix attribute validation on associated items in traits 2024-02-24 08:14:38 -05:00
variant-attributes.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
z-crate-attr.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00