summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
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
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-4/+157
2021-08-16Add check for doc(test(...)) attributeGuillaume Gomez-2/+43
2021-08-16feature gate doc(primitive)Joshua Nelson-1/+16
2021-08-12Adjust `check_no_mangle` and `check_export_name` to warn/error on `#[no_mangl...hyd-dev-12/+20
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-1/+1
2021-07-25clippy::useless_formatMatthias Krüger-1/+1
2021-07-25Only check macro attributes when checking the crate root.Camille GILLOT-2/+2
2021-07-10Check if the attribute is applied correctlyDeadbeef-0/+26
2021-06-25Check that `#[cmse_nonsecure_entry]` is applied to a function definitionFabian Wolff-0/+20
2021-06-17Fix ICE when using `#[doc(keyword = "...")]` on non-itemsFabian Wolff-2/+5
2021-06-15Fix ICE when doc aliases were put on function paramsRyan Levick-0/+2
2021-06-05Don't fire `invalid_doc_attributes` on `extern crate` itemsJoshua Nelson-1/+1
2021-06-04Remove `doc(include)`Joshua Nelson-2/+25
2021-05-12entirely remove rustc_args_required_const attributeRalf Jung-79/+1
2021-05-10Add documentationLeSeulArtichaut-0/+17
2021-05-08Error on conflicting `#[doc(inline)]`/`#[doc(no_inline)]` attributesLeSeulArtichaut-26/+74
2021-05-08Emit `invalid_doc_attributes` warnings in more casesLeSeulArtichaut-12/+75
2021-04-19Auto merge of #84091 - tmiasko:check-attrs-sym, r=davidtwcobors-49/+42
2021-04-16Remove #[main] attribute.Charles Lew-1/+1
2021-04-11Match against attribute name when validating attributesTomasz Miąsko-49/+42
2021-04-05Allow specifying alignment for functionsWesley Norris-6/+40
2021-04-02Auto merge of #80965 - camelid:rename-doc-spotlight, r=jyn514bors-5/+17
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-15Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]`Camelid-5/+17
2021-03-15Rollup merge of #83098 - camelid:more-doc-attr-check, r=davidtwcoDylan DPC-46/+64