about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2022-03-01Rollup merge of #94448 - c410-f3r:yet-more-let-chains, r=estebankDylan DPC-16/+14
2022-03-01Rollup merge of #93926 - PatchMixolydic:bugfix/must_use-on-exprs, r=cjgillotDylan DPC-1/+34
2022-02-285 - Make more use of let_chainsCaio-16/+14
2022-02-27Lint against more useless `#[must_use]` attributesRuby Lazuli-1/+34
2022-02-25`check_used` should only look at actual `used` attributescynecx-2/+2
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-1/+1
2022-02-24resolve: Fix incorrect results of `opt_def_kind` query for some built-in macrosVadim Petrochenkov-1/+1
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+1
2022-02-19Adopt let else in more placesest31-12/+9
2022-02-08add more tests and make used(linker/compiler) mutually exclusivecynecx-0/+34
2022-02-01review + rebaselcnr-2/+2
2022-02-01add a rustc::query_stability lintlcnr-73/+89
2022-01-27Check that `#[rustc_must_implement_one_of]` is applied to a traitMaybe Waffle-0/+23
2022-01-18Rollup merge of #92701 - ehuss:even-more-attr-validation, r=matthewjasperMatthias Krüger-0/+21
2022-01-17Auto merge of #90986 - camsteffen:nested-filter, r=cjgillotbors-8/+7
2022-01-17Auto merge of #92473 - petrochenkov:ltrattr2, r=Aaron1011bors-11/+0
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-8/+7
2022-01-16Rollup merge of #92646 - mdibaiee:76935/pass-by-value, r=lcnrMatthias Krüger-0/+19
2022-01-15Return a LocalDefId in get_parent_item.Camille GILLOT-5/+5
2022-01-10rustc_pass_by_value lint: add test on custom typesMahdi Dibaiee-8/+3
2022-01-10expand: Pick `cfg`s and `cfg_attrs` one by one, like other attributesVadim Petrochenkov-11/+0
2022-01-09Add validation for `link` attribute position.Eric Huss-0/+21
2022-01-09feat: pass_by_value lint attributeMahdi Dibaiee-0/+24
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-2/+2
2021-12-15Remove `in_band_lifetimes` for `rustc_passes`Peter Jaszkowiak-5/+5
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-03Update invalid crate attributes, add help messageTom Farmer-6/+30
2021-11-28Take a LocalDefId in expect_*item.Camille GILLOT-3/+3
2021-11-24Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelidGuillaume Gomez-1/+1
2021-11-24Create rustdoc_internals feature gateGuillaume Gomez-1/+1
2021-11-18Add checks for more empty attributes.Eric Huss-2/+11
2021-11-18Check for duplicate attributes.Eric Huss-17/+101
2021-11-17Rollup merge of #89610 - guswynn:must_use_future, r=wesleywiserMatthias Krüger-0/+32
2021-11-16Update compiler/rustc_passes/src/check_attr.rsWesley Wiser-1/+1
2021-11-12rustc_feature: Convert `BuiltinAttribute` from tuple to a structVadim Petrochenkov-2/+2
2021-11-08warn on must_use use on async fn'sGus Wynn-0/+32
2021-10-30Rollup merge of #90374 - GuillaumeGomez:unify-rustdoc-book-titles, r=camelidMatthias Krüger-1/+1
2021-10-29Unify titles in rustdoc book doc attributes chapterGuillaume Gomez-1/+1
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-83/+61
2021-10-15add a `rustc::query_stability` lintlcnr-61/+83
2021-10-08Rollup merge of #89649 - matthiaskrgr:clippycompl, r=jyn514Guillaume Gomez-2/+1
2021-10-08clippy::complexity fixesMatthias Krüger-2/+1
2021-10-07Rollup merge of #89596 - GuillaumeGomez:implicit-doc-cfg, r=jyn514Guillaume Gomez-0/+1
2021-10-05Add `cfg_hide` to the list of known attributesJoshua Nelson-0/+1
2021-10-04Add a check for duplicated doc aliases in unused lintGuillaume Gomez-6/+36
2021-09-11skip the uninhabitated check and commentsGus Wynn-4/+4
2021-09-11must_not_suspend implGus Wynn-0/+16
2021-08-29emit specific warning to clarify that foreign items can't have no_mangleasquared31415-0/+30
2021-08-28Treat macros as HIR itemsinquisitivecrystal-8/+13
2021-08-21Address review commentsAaron Hill-1/+6