about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2022-04-16Rollup merge of #95006 - tmiasko:thread-local-static, r=wesleywiserDylan DPC-0/+16
2022-04-08check_doc_keyword: don't alloc string for emptiness checkklensy-31/+27
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-31Merge impl_constness and is_const_fn_raw.Camille GILLOT-1/+1
2022-03-30rework implementation for inherent impls for builtin typeslcnr-0/+21
2022-03-22use `format-args-capture` and remove unnecessary nested if blocks in some par...Takayuki Maeda-14/+10
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+2
2022-03-16Reject `#[thread_local]` attribute on non-static itemsTomasz Miąsko-0/+16
2022-03-15Support other types of pluralization in pluralize macroest31-1/+1
2022-03-09Rollup merge of #94686 - ChayimFriedman2:issue-94629, r=jackh726Dylan DPC-1/+1
2022-03-07Do not allow `#[rustc_legacy_const_generics]` on methodsChayim Refael Friedman-1/+1
2022-03-03Emit `unused_attributes` if a level attr only has a reasonxFrednet-29/+51
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