about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2021-03-23Fix comment.Camille GILLOT-1/+2
2021-03-22Err if the debugging options are not passed.Camille GILLOT-0/+19
2021-03-19Rollup merge of #82846 - GuillaumeGomez:doc-alias-list, r=jyn514Dylan DPC-30/+83
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-2/+2
2021-03-15Rollup merge of #83098 - camelid:more-doc-attr-check, r=davidtwcoDylan DPC-46/+64
2021-03-14Use pretty-printer instead of `span_to_snippet`Camelid-7/+4
2021-03-14Tweak diagnosticsCamelid-6/+9
2021-03-13Add hyphen to "crate level"Camelid-2/+2
2021-03-13Report error for each invalid nested attributeCamelid-6/+9
2021-03-13Lint non-meta doc attributesCamelid-0/+10
2021-03-13Refactor `check_doc_attrs` bodyCamelid-36/+41
2021-03-11Improve code by removing similar function calls and using loops instead for c...Guillaume Gomez-59/+33
2021-03-11Validate rustc_layout_scalar_valid_range_{start,end} attributesTomasz Miąsko-1/+36
2021-03-10Allow doc alias attributes to use both list and valueGuillaume Gomez-7/+86
2021-03-09Access attrs directly from HirId in rustc_passes::check_attr.Camille GILLOT-50/+13
2021-03-07Rollup merge of #82651 - jyn514:rustdoc-warnings, r=GuillaumeGomezYuki Okushi-1/+2
2021-03-05Make invalid_doc_attribute lint pluralGuillaume Gomez-3/+3
2021-03-04Also use INVALID_DOC_ATTRIBUTE for "unknown doc attribute" warningsGuillaume Gomez-6/+1
2021-03-04Add extra check for #[doc(test(...)] attributeGuillaume Gomez-1/+18
2021-03-03Change error about unknown doc attributes to a warningJoshua Nelson-9/+16
2021-03-02Report that `doc(plugins)` doesn't work using diagnostics instead of `println!`Joshua Nelson-1/+2
2021-03-01Validate meta items used in \#\[doc(...)\]Guillaume Gomez-0/+35
2021-02-25Improve checking for attributeAmanieu d'Antras-47/+56
2021-02-25Address review commentsAmanieu d'Antras-0/+17
2021-02-23Add #[rustc_legacy_const_generics]Amanieu d'Antras-0/+75
2021-02-15Only store a LocalDefId in hir::MacroDef.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::ForeignItem.Camille GILLOT-1/+1
2021-02-15Only store a LocalDefId in hir::ImplItem.Camille GILLOT-2/+2
2021-02-15Only store a LocalDefId in hir::TraitItem.Camille GILLOT-1/+7
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-1/+1
2021-02-09Visit more targets when checking attrsRyan Levick-11/+17
2021-02-01Fixed #[inline] to be warned in fields, arms, macro defsDanuel-45/+263
2021-01-12Separate out a `hir::Impl` structJoshua Nelson-2/+2
2021-01-06Don't use to_string on SymbolGuillaume Gomez-1/+1
2021-01-04Add an error in case the doc alias is the same as the item it's aliasingGuillaume Gomez-1/+12
2020-12-19Auto merge of #79073 - davidtwco:issue-78957-const-param-attrs, r=lcnrbors-0/+12
2020-12-06Don't ICE on malformed `rustc_args_required_const` attributeTomasz Miąsko-45/+53
2020-12-02Add checks for #[doc(keyword = "...")] and move them into rustc_passesGuillaume Gomez-7/+53
2020-12-02Clean up doc attributes check before adding moreGuillaume Gomez-79/+93
2020-12-01Improve some attributes error spansGuillaume Gomez-2/+2
2020-11-29passes: prohibit attrs on generic paramsDavid Wood-0/+12
2020-11-24Validate that `#[naked]` is applied to a function definitionTomasz Miąsko-0/+21
2020-11-24Don't mark #[naked] as used when checking #[track_caller]Tomasz Miąsko-1/+1
2020-10-25Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obkYuki Okushi-0/+53
2020-10-23Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnrbors-58/+33
2020-10-23fix validation for rustc_allow_const_fn_unstable targetsFlorian Warzecha-3/+5
2020-10-22validate rustc_allow_const_fn_unstable targetsFlorian Warzecha-0/+22
2020-10-21validate allow_internal_unstable targetFlorian Warzecha-0/+29
2020-10-06Enforce whitespace ascii character check for doc aliasGuillaume Gomez-0/+10
2020-10-05Allow ascii whitespace char for doc aliasesGuillaume Gomez-2/+3