about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2024-06-11Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix许杰友 Jieyou Xu (Joe)-1/+1
2024-06-06Rollup merge of #126040 - Urgau:unreachable_pub-fields-less, r=petrochenkovJubilee-6/+15
2024-06-06Don't warn on fields in the `unreachable_pub` lintUrgau-6/+15
2024-06-03Fix up comments.Nicholas Nethercote-16/+26
2024-05-28Remove usage of `isize` in exampleTobias Bucher-1/+1
2024-05-24move generics_of call outside of iterBoxy-1/+3
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-3/+15
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-0/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-05-22Use correct param-env in MissingCopyImplementationsMichael Goulet-5/+4
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-15/+6
2024-05-18Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726bors-3/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-05-16Remove trivial Binder::dummy callsMichael Goulet-1/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-2/+2
2024-05-07Make sure we don't deny macro vars w keyword namesMichael Goulet-1/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-04-22Deny gen keyword in edition_2024_compat lintsMichael Goulet-30/+72
2024-04-08Rollup merge of #120144 - petrochenkov:unty, r=davidtwcoMatthias Krüger-2/+3
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+1
2024-03-22Split out ImplPolarity and PredicatePolarityMichael Goulet-1/+1
2024-03-22Make RawPtr take Ty and Mutbl separatelyMichael Goulet-1/+1
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-17Auto merge of #121885 - reitermarkus:generic-nonzero-inner, r=oli-obk,wesleyw...bors-0/+2
2024-03-14Fix lint.Markus Reiter-0/+2
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-1/+1
2024-03-13privacy: Stabilize lint `unnameable_types`Vadim Petrochenkov-2/+3
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-2/+2
2024-03-05Auto merge of #121780 - nnethercote:diag-renaming2, r=davidtwcobors-2/+2
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Auto merge of #120675 - oli-obk:intrinsics3.0, r=pnkfelixbors-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-03-04Add `is_intrinsic` helperOli Scherer-1/+1
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-1/+1
2024-02-20Rollup merge of #121318 - kadiwa4:no_assembly_in_supposedly_safe_code, r=Nils...Nilstrieb-0/+4
2024-02-20Add newtype for raw identsclubby789-1/+1
2024-02-20trigger `unsafe_code` on `global_asm!` invocationsKalle Wachsmuth-0/+4
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-26/+0
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-1/+1
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-2/+1
2024-02-05Rollup merge of #119600 - aDotInTheVoid:comment-fix, r=compiler-errorsMatthias Krüger-1/+1
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-30/+30
2024-01-23Rename `LintContext::lookup_with_diagnostics` as `LintContext::span_lint_with...Nicholas Nethercote-1/+1
2024-01-22Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=Waff...Matthias Krüger-7/+27
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-4/+1
2024-01-05Remove outdated references to `librustc_middle`.Alona Enraght-Moony-1/+1
2024-01-04Rollup merge of #119195 - asquared31415:named_asm_labels_fix, r=AmanieuMatthias Krüger-13/+49
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-21Make named_asm_labels lint not trigger on unicode and trigger on format argsasquared31415-13/+49