summary refs log tree commit diff
path: root/compiler/rustc_lint/src/levels.rs
AgeCommit message (Expand)AuthorLines
2023-05-18Stop confusing specification levels when computing expectations.Camille GILLOT-3/+7
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-10Fix typos in compilerDaniPopes-2/+2
2023-04-09Use HashMap entry APIs moreNilstrieb-6/+6
2023-03-06Querify registered_tools.Camille GILLOT-2/+2
2023-02-22errors: generate typed identifiers in each crateDavid Wood-7/+10
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09refactor: refactor to derive for some lints.Rejyr-3/+10
2023-01-09migrate: `levels.rs`Rejyr-103/+39
2023-01-09add: `emit{,_spanned}_lint` for `LintLevelsBuilder`Rejyr-19/+29
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-1/+1
2022-12-18Make `#[custom_encodable]` an attribute for `newtype_index`Nilstrieb-1/+1
2022-11-13Store a LocalDefId in hir::Variant & hir::Field.Camille GILLOT-2/+2
2022-11-11Tweak signatures in rustc_middle::hir::map.Camille GILLOT-1/+1
2022-11-07fix: lint against lint functionsRejyr-0/+1
2022-10-22Change `unknown_lint` applicability to `MaybeIncorrect`Samuel Moelius-1/+1
2022-10-12link lint function with `decorate` function param to `struct_lint_level`Maybe Waffle-0/+4
2022-10-01Add sanity Drop impl.Camille GILLOT-0/+8
2022-10-01Add FIXME.Camille GILLOT-0/+1
2022-10-01Replace retain with assertion.Camille GILLOT-2/+6
2022-10-01Add fast path without visiting.Camille GILLOT-12/+30
2022-10-01Simplify LintLevelsProvider.Camille GILLOT-18/+16
2022-10-01Compute by owner instead of HirId.Camille GILLOT-16/+110
2022-10-01Add FIXME.Camille GILLOT-0/+2
2022-10-01Comment LintLevelSets.Camille GILLOT-1/+12
2022-10-01Move lint level computation to rustc_middle::lint.Camille GILLOT-26/+32
2022-10-01Reduce visibilities and remove dead code.Camille GILLOT-17/+15
2022-10-01Move code to rustc_lint.Camille GILLOT-2/+69
2022-10-01Remove unused tool_name.Camille GILLOT-4/+0
2022-10-01Compute `lint_levels` by definitionDeadbeef-278/+310
2022-10-01Refactor rustc lint APIMaybe Waffle-59/+73
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-396/+284
2022-09-14Add FIXME.Camille GILLOT-0/+2
2022-09-14Comment LintLevelSets.Camille GILLOT-1/+12
2022-09-14Remove unused tool_name.Camille GILLOT-4/+0
2022-09-14Move some code and add comments.Camille GILLOT-32/+103
2022-09-14Compute `lint_levels` by definitionDeadbeef-278/+310
2022-09-12Allow tool-lints to specify a feature-gate tooWim Looman-2/+4
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-23cleanup: commented lintsRejyr-3/+0
2022-08-22rename: `UnknownTool` to `UnknownToolInScopedLint`Rejyr-2/+2
2022-08-22migrate: `OverruledAttribute`Rejyr-12/+25
2022-08-22change: diagnostic `String` field to `Symbol`Rejyr-2/+1
2022-08-22migrate: `bad_attr` to `SessionDiagnostic`Rejyr-17/+25
2022-08-22migrate: `UnknownTool` error to `SessionDiagnostic`Rejyr-16/+11
2022-08-11Add visitors for PatField and ExprField.Eric Huss-34/+13
2022-08-11Honor lint level attributes in more places.Eric Huss-3/+42
2022-08-11Simplify `rustc_hir::intravisit::Visitor::visit_variant_data`.Nicholas Nethercote-7/+2