about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2024-07-31Emit an error if `#[optimize]` is applied to an incompatible itemclubby789-0/+22
2024-07-31Rollup merge of #128402 - oli-obk:checked_attrs, r=compiler-errorsMatthias Krüger-367/+179
2024-07-30Rollup merge of #128380 - folkertdev:naked-compatible-doc-comment, r=bjorn3Matthias Krüger-0/+6
2024-07-30Attribute checking simplificationsOli Scherer-367/+179
2024-07-30make `///` doc comments compatible with naked functionsFolkert-0/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+11
2024-07-28Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3Matthias Krüger-9/+64
2024-07-27allow `#[target_feature]` on `#[naked]` functionsFolkert-1/+1
2024-07-27switch to an allowlist approachFolkert-4/+40
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-1/+1
2024-07-16improve error message when `#[naked]` is used with `#[track-caller] and `#[ta...Folkert-12/+14
2024-07-16improve error message when `#[naked]` is used with `#[inline]`Folkert-8/+25
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-06-29Rollup merge of #127118 - surechen:fix_126789, r=jieyouxuMatthias Krüger-3/+7
2024-06-29Show `used attribute`'s kind for user when find it isn't applied to a `static...surechen-3/+7
2024-06-26coverage: Allow `#[coverage(..)]` on `impl` and `mod`Zalathar-3/+6
2024-06-24coverage: Always error on `#[coverage(..)]` in unexpected placesZalathar-37/+5
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-20/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-06Fix formattingcarbotaniuman-1/+0
2024-06-06Fix buildcarbotaniuman-1/+1
2024-06-06Error on unsafe on non-unsafe attributecarbotaniuman-1/+21
2024-06-03Opt-in diagnostics reporting to avoid doing extra work in the new solverMichael Goulet-1/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_passes`.Nicholas Nethercote-0/+1
2024-05-22Auto merge of #125326 - weiznich:move/do_not_recommend_to_diganostic_namespac...bors-62/+75
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-62/+75
2024-05-21Minor `pub` and whitespace cleanups.Nicholas Nethercote-6/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-05-03Rollup merge of #124480 - Enselic:on-broken-pipe, r=jieyouxuMichael Goulet-1/+0
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-1/+0
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-17consistency rename: language item -> lang itemRalf Jung-1/+1
2024-04-17weak lang items are not allowed to be #[track_caller]Ralf Jung-2/+21
2024-03-18Use `hir::Node` helper methods instead of repeat the same impl multiple timesOli Scherer-7/+1
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-1/+1
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-4/+4
2024-03-06Add missing `#[rustc_lint_diagnostics]` attributes.Nicholas Nethercote-0/+1
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+2
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-9/+11
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-1/+1
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-2/+2
2024-02-12Rollup merge of #120917 - chenyukang:yukang-dead-parameters, r=compiler-errorsMatthias Krüger-2/+2
2024-02-12remove a bunch of dead parameters in fnyukang-2/+2
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-4/+1
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-6/+7
2024-02-06Rollup merge of #120502 - clubby789:remove-ffi-returns-twice, r=compiler-errorsMatthias Krüger-10/+0
2024-01-30Remove `ffi_returns_twice` featureclubby789-10/+0
2024-01-30Rollup merge of #118533 - chenyukang:yukang-fix-118455, r=petrochenkovGuillaume Gomez-1/+11
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2024-01-29Supress unhelpful diagnostics for unresolved top level attributesyukang-1/+11