summary refs log tree commit diff
path: root/compiler/rustc_attr/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2023-08-25Auto merge of #114201 - Centri3:explicit-repr-rust, r=WaffleLapkinbors-0/+2
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-12/+9
2023-08-01[rustc_attr][nit] Replace `filter` + `is_some` with `map_or`.Taras Tsugrii-1/+1
2023-07-29Allow explicit `#[repr(Rust)]`Catherine Flores-0/+2
2023-07-16Add infrastructure `#[rustc_confusables]` attribute to allow targeted许杰友 Jieyou Xu (Joe)-0/+17
2023-05-17Only depend on CFG_VERSION in rustc_interfacejyn-2/+1
2023-05-05Improve check-cfg diagnostics (part 2)Urgau-2/+5
2023-05-05Improve check-cfg diagnostics (part 1)Urgau-1/+1
2023-05-05Improve internal representation of check-cfgUrgau-18/+16
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-03-27Bless tidyMaybe Waffle-2/+2
2023-03-24Adjust documentation.Camille GILLOT-14/+18
2023-03-23Separate find_*_stability.Camille GILLOT-113/+93
2023-03-23Extract parse_stability and parse_unstability.Camille GILLOT-205/+224
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-4/+4
2023-02-16Add feature gate for non_lifetime_bindersMichael Goulet-1/+1
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+2
2022-12-06`rustc_attr` remove `ref` patternsMaybe Waffle-65/+69
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-8/+6
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-5/+7
2022-09-14Also replace the placeholder for the stable_features lintest31-3/+7
2022-09-07Rollup merge of #101486 - asquared31415:invalid_repr_list, r=estebankYuki Okushi-12/+10
2022-09-06add list of recognized repr attributes to the unrecognized repr errorasquared31415-12/+10
2022-09-05UPDATE - accept start_point and snippet instead of SourceMapJhonny Bill Mena-1/+1
2022-09-05[Gardening] UPDATE - tidy fixesJhonny Bill Mena-1/+6
2022-09-05UPDATE - avoid exposing source_map methods from HandlerJhonny Bill Mena-1/+1
2022-09-02Also replace the version placeholder in rustc_attrest31-0/+12
2022-08-22Move `LitKind` logic to `session_diagnostics` moduleHampus Lidin-17/+6
2022-08-22Reorder diagnostics in code order, then alphabetical orderHampus Lidin-3/+0
2022-08-22Refactor remaining diagnosticsHampus Lidin-102/+63
2022-08-22Refactor additional diagnostics in `rustc_attr`Hampus Lidin-38/+18
2022-08-22Refactor more diagnostics in `rustc_attr`Hampus Lidin-48/+21
2022-08-22Refactor diagnostics in `handle_errors` functionHampus Lidin-31/+27
2022-07-31Panic when checking an unknown stability attributeMaybe Waffle-1/+3
2022-07-26Implement `#[rustc_default_body_unstable]`Maybe Waffle-5/+26
2022-07-21avoid embedding StabilityLevel::Unstable reason string into metadata multiple...klensy-2/+33
2022-07-20middle: add `implies_by` to `#[unstable]`David Wood-1/+27
2022-07-20attr: fix expected meta-item for `#[stable]`David Wood-1/+1
2022-07-20attr/passes: comment -> doc commentDavid Wood-3/+16
2022-07-14Auto merge of #95956 - yaahc:stable-in-unstable, r=cjgillotbors-2/+27
2022-07-08fixes post rebaseJane Losare-Lusby-1/+1
2022-07-08add opt in attribute for stable-in-unstable itemsJane Lusby-2/+27
2022-07-07`UnsafeCell` now has no niches, ever.Oli Scherer-5/+3
2022-06-14Remove `rustc_deprecated` diagnosticsJacob Pratt-28/+1
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-2/+2
2022-05-24RFC3239: Implement compact `cfg(target(..))`Loïc BRANSTETT-0/+19
2022-05-24Clean up condition evaluation systemLoïc BRANSTETT-58/+64
2022-05-19Add and use stability helper methodsJacob Pratt-0/+20
2022-05-10only_local: always check for misuselcnr-138/+141
2022-04-14Use native duplicate attribute checkJacob Pratt-8/+0