summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_attr.rs
AgeCommit message (Expand)AuthorLines
2023-10-20Make `#[repr(Rust)]` and `#[repr(C)]` incompatible with one anotherLeón Orell Valerian Liehr-3/+10
2023-09-26Rollup merge of #116162 - fmease:gate-n-validate-rustc_safe_intrinsic, r=Nils...Matthias Krüger-0/+26
2023-09-25Gate and validate #[rustc_safe_intrinsic]León Orell Valerian Liehr-0/+26
2023-09-22Allow higher-ranked fn sigs in ValuePairsMichael Goulet-1/+4
2023-09-22Auto merge of #115910 - eduardosm:lang-fns-target-features, r=cjgillotbors-3/+29
2023-09-18Prevent using `#[target_feature]` on lang item functionsEduardo Sánchez Muñoz-3/+29
2023-09-17Auto merge of #114452 - weiznich:feature/diagnostic_on_unimplemented, r=compi...bors-1/+21
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+3
2023-09-12`#[diagnostic::on_unimplemented]` without filtersGeorg Semmler-1/+21
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-14/+8
2023-08-25Auto merge of #114201 - Centri3:explicit-repr-rust, r=WaffleLapkinbors-0/+1
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-3/+3
2023-08-07check_attrs: Warn when #[macro_export] is used on macros 2.0Arthur Cohen-0/+14
2023-08-05Add #[rustc_never_returns_null_ptr]est31-0/+3
2023-07-29Allow explicit `#[repr(Rust)]`Catherine Flores-0/+1
2023-07-24validate `doc(masked)`Lukas Markeffsky-0/+49
2023-07-16Add infrastructure `#[rustc_confusables]` attribute to allow targeted许杰友 Jieyou Xu (Joe)-0/+41
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-2/+2
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-5/+9
2023-07-08Replace RPITIT current impl with new strategy that lowers as a GATSantiago Pastorino-1/+0
2023-06-20Merge attrs, better validationMichael Goulet-37/+6
2023-05-29Avoid ICE on `#![doc(test(...)]` with literal parameterObei Sideg-6/+13
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-16Move DebuggerVisualizerFile types from rustc_span to rustc_middleMichael Woerister-1/+4
2023-05-16Fix dependency tracking for debugger visualizersMichael Woerister-48/+2
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-05-01Don't bail out early when checking invalid `repr` attrclubby789-7/+1
2023-04-26Migrate `rustc_passes` to translatable diagnosticsclubby789-22/+10
2023-04-16Allow all associated functions and add testDeadbeef-2/+2
2023-04-14allow `repr(align = x)` on inherent methodsDeadbeef-3/+9
2023-03-30Rename doc(primitive) into rustc_doc_primitiveGuillaume Gomez-11/+0
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-1/+1
2023-03-14Tighter spansMichael Goulet-2/+35
2023-03-14Simplify proc macro signature validity checkMichael Goulet-88/+58
2023-03-13Better names?Michael Goulet-1/+1
2023-02-22Add check for invalid \`#[macro_export]\` argumentsblyxyas-2/+29
2023-02-22errors: generate typed identifiers in each crateDavid Wood-5/+5
2023-02-17Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-02-16Rename some region-specific stuffMichael Goulet-1/+1
2023-02-14add a `#[rustc_coinductive]` attributelcnr-0/+15
2023-02-05rustc_passes: remove huge error importsest31-32/+36
2023-02-01Auto merge of #107257 - inquisitivecrystal:ffi-attr, r=davidtwcobors-0/+35
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-26/+32
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-2/+4
2023-01-26fixup new usages of fn_sig, bound_fn_sig after rebasingKyle Matsuda-1/+2
2023-01-26Rollup merge of #106407 - mejrs:attr_check, r=compiler-errorsMatthias Krüger-6/+140
2023-01-24Make sure FFI attrs aren't used on foreign staticsinquisitivecrystal-9/+9
2023-01-24Move FFI attribute validation to `check_attr`inquisitivecrystal-0/+35