about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2023-12-15Fix commentsMichael Goulet-9/+0
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-20/+10
2023-12-13Add more suggestion to unexpected cfg names and valuesUrgau-3/+48
2023-12-10Revert "Don't print host effect param in pretty path_generic_args"Deadbeef-1/+0
2023-12-09Don't print host effect param in pretty path_generic_argsMichael Goulet-0/+1
2023-12-01vis note for no pub reexports glob importbohan-0/+4
2023-11-22rustc_session: implement latent TODOTamir Duberstein-1/+3
2023-11-22Auto merge of #118071 - Urgau:check-cfg-cargo-feature, r=petrochenkovbors-0/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-10/+10
2023-11-21Improve diagnostic for unexpected feature config name from CargoUrgau-0/+2
2023-11-17Rollup merge of #117549 - DaniPopes:more-copied, r=b-naberMatthias Krüger-1/+1
2023-11-17Remove dead lint code.Nicholas Nethercote-27/+5
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-10/+8
2023-11-03compiler: use `copied` instead of manual `map`DaniPopes-1/+1
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-34/+33
2023-10-17Remove `Printer::Error`Nilstrieb-15/+13
2023-10-17Remove "subprinter" types from `Printer`Nilstrieb-31/+31
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-4/+4
2023-10-13Format all the let chains in compilerMichael Goulet-4/+4
2023-10-12check-cfg: only print the list of expected names onceUrgau-1/+5
2023-10-12check-cfg: adjust expected names and values when usefulUrgau-1/+12
2023-09-27Fix ICE by introducing an expr_or_init variant for outside bodiesUrgau-1/+38
2023-09-18Add clippy like expr_or_init fn to rustc LateContextUrgau-0/+48
2023-08-30refactor(rustc_lint): inline `check_lint_name_cmdline`Weihang Lo-67/+0
2023-08-24refactor: use references to reduce unnecessary clonesWeihang Lo-8/+7
2023-08-24lint: translate `RenamedOrRemovedLint`Weihang Lo-16/+19
2023-08-20Warn on elided lifetimes in associated constantsMichael Goulet-0/+8
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-0/+3
2023-07-29fix(resolve): update the ambiguity glob binding as warning recursivelybohan-0/+3
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-18/+16
2023-07-18Fix removal span calculation of unused_qualifications suggestion许杰友 Jieyou Xu (Joe)-4/+4
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-07-13Add machine-applicable suggestion for `unused_qualifications` lint许杰友 Jieyou Xu (Joe)-0/+8
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-10Adjust span labels for `HIDDEN_GLOB_REEXPORTS`许杰友 Jieyou Xu (Joe)-2/+2
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-0/+4
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-8/+8
2023-05-05Improve check-cfg diagnostics (part 2)Urgau-9/+45
2023-05-05Improve check-cfg diagnostics (part 1)Urgau-8/+8
2023-05-05Improve internal representation of check-cfgUrgau-6/+8
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-10/+10
2023-03-20Lint ambiguous glob re-exports许杰友 Jieyou Xu (Joe)-0/+4
2023-02-22Move the unused extern crate check back to the resolver.Camille GILLOT-0/+17
2023-02-19Make public API, docs algorithm-agnosticJacob Pratt-1/+1
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-6/+4
2023-02-14Fix #107998, avoid ICE when the generic_span is emptyyukang-1/+9
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+3
2023-01-16fix #104440Takayuki Maeda-21/+26
2023-01-09refactor: cleanupRejyr-2/+0