summary refs log tree commit diff
path: root/tests/ui/attributes
AgeCommit message (Expand)AuthorLines
2024-10-02Add `get_line` confusable to `Stdin::read_line()`Jaken Herman-1/+16
2024-09-30Reject leading unsafe in `cfg!(...)` and `--check-cfg`.Urgau-2/+24
2024-09-21remove `#[cmse_nonsecure_entry]`Folkert-24/+3
2024-08-24New `#[rustc_pub_transparent]` attributePavel Grigorenko-0/+48
2024-08-18Check that `#[may_dangle]` is properly appliedGoldstein-0/+103
2024-08-17Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercotebors-48/+35
2024-08-17Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkovMatthias Krüger-0/+97
2024-08-17Emit an error for invalid use of the linkage attributeShina-0/+97
2024-08-16Overhaul token collection.Nicholas Nethercote-0/+42
2024-08-07Rollup merge of #128552 - s7tya:check-no-sanitize-attribute-pos, r=BoxyUwUTrevor Gross-0/+89
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-48/+35
2024-08-06tests: add regression test to make sure `cfg_attr` isn't considered unhandled许杰友 Jieyou Xu (Joe)-0/+169
2024-08-05Emit an error for invalid use of the `#[no_sanitize]` attributeShina-0/+89
2024-08-04tests: add regression test for incorrect "builtin attribute is checked" asser...许杰友 Jieyou Xu (Joe)-0/+79
2024-08-01Auto merge of #127543 - carbotaniuman:more_unsafe_attr_verification, r=esteba...bors-6/+331
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+48
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-25/+157
2024-07-29Deny unsafe on more builtin attributescarbotaniuman-1/+194
2024-07-29Structured suggestion for `extern crate foo` when `foo` isn't resolved in importEsteban Küber-2/+8
2024-07-25Auto merge of #127042 - GrigorenkoPV:derivative, r=compiler-errorsbors-1/+1
2024-07-24Do not use question as labelEsteban Küber-4/+4
2024-07-12rustc_type_ir: derivative -> derive-wherePavel Grigorenko-1/+1
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-1/+6
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-2/+2
2024-06-30add `rustc_dump_def_parents` attributeBoxy-0/+162
2024-06-29Rollup merge of #127118 - surechen:fix_126789, r=jieyouxuMatthias Krüger-0/+16
2024-06-29Show `used attribute`'s kind for user when find it isn't applied to a `static...surechen-0/+16
2024-06-24resolve: Implement a lint for out-of-scope use of `macro_rules`Vadim Petrochenkov-49/+113
2024-06-24ast: Standardize visiting order for attributes and node IDsVadim Petrochenkov-5/+37
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-6/+6
2024-06-22Add `#[rustc_dump_{predicates,item_bounds}]`León Orell Valerian Liehr-0/+59
2024-06-06Add double unsafe testcarbotaniuman-0/+36
2024-06-06Error on unsafe on non-unsafe attributecarbotaniuman-0/+34
2024-06-06Add testscarbotaniuman-0/+14
2024-06-06Disallow unsafe in derivecarbotaniuman-0/+14
2024-05-29ast: Revert a breaking attribute visiting order changeVadim Petrochenkov-19/+3
2024-05-29Add a test for resolving `macro_rules` calls inside attributesVadim Petrochenkov-0/+202
2024-05-20Note for E0599 if shadowed bindings has the method.surechen-0/+8
2024-05-10Fix parse error message for meta itemsLeón Orell Valerian Liehr-2/+2
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-384/+0
2024-04-29Typo fix: exec:ing -> exec'ingMartin Nordholts-1/+1
2024-04-25debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[...Vadim Petrochenkov-96/+95
2024-04-24Rollup merge of #123316 - Enselic:sigpipe-inherit-variants, r=fmeaseLeón Orell Valerian Liehr-8/+39
2024-04-18Auto merge of #124072 - saethlin:less-sysroot-libc-misc, r=jieyouxubors-2/+0
2024-04-17Remove libc from rust_get_test_int usesBen Kimock-1/+1
2024-04-17Remove libc from more testsBen Kimock-2/+0
2024-04-13Test `#[unix_sigpipe = "inherit"]` with both `SIG_DFL` and `SIG_IGN`Martin Nordholts-8/+39
2024-03-25unix_sigpipe: Add test for SIGPIPE disposition in child processesMartin Nordholts-0/+90
2024-03-16Rollup merge of #121545 - gvozdvmozgu:fix-attribute-validation-associated-ite...León Orell Valerian Liehr-0/+15
2024-03-12tests: Add ui/attributes/unix_sigpipe/unix_sigpipe-str-list.rsMartin Nordholts-1/+13