about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-9/+13
2022-02-24Rollup merge of #94175 - Urgau:check-cfg-improvements, r=petrochenkovDylan DPC-1/+34
2022-02-23Continue improvements on the --check-cfg implementationLoïc BRANSTETT-12/+13
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-9/+13
2022-02-22Improve diagnostic of the unexpected_cfgs lintLoïc BRANSTETT-1/+33
2022-02-20Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obkbors-6/+6
2022-02-19Adopt let else in more placesest31-3/+2
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-6/+6
2022-02-15Overhaul `Const`.Nicholas Nethercote-1/+1
2022-02-01add a rustc::query_stability lintlcnr-2/+5
2022-01-31Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726Matthias Krüger-1/+1
2022-01-28Rollup merge of #92611 - Amanieu:asm-reference, r=m-ou-seMatthias Krüger-0/+1
2022-01-23rustc_lint: Reuse the set of registered tools from resolverVadim Petrochenkov-12/+20
2022-01-23rustc_lint: Remove some redundant fields from `EarlyContext`Vadim Petrochenkov-20/+5
2022-01-19Add links to the reference and rust by example for asm! docs and lintsAmanieu d'Antras-0/+1
2021-12-21Rollup merge of #91770 - TaKO8Ki:suggest-adding-cfg-test, r=joshtriplettMatthias Krüger-1/+9
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-3/+3
2021-12-18Rollup merge of #92032 - petrochenkov:extblockpath, r=oli-obkMatthias Krüger-2/+2
2021-12-18hir: Do not introduce dummy type names for `extern` blocks in def pathsVadim Petrochenkov-2/+2
2021-12-18Rollup merge of #89090 - cjgillot:bare-dyn, r=jackh726Matthias Krüger-10/+0
2021-12-16suggest adding a `#[cfg(test)]` to test modulesTakayuki Maeda-1/+9
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-3/+3
2021-12-12Address review feedbackAmanieu d'Antras-1/+0
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-1/+1
2021-12-11Remove useless variant.Camille GILLOT-20/+1
2021-12-04Lint bare traits in AstConv.Camille GILLOT-10/+0
2021-11-06Improve terminology around "after typeck"pierwill-1/+1
2021-11-04Optimize literal, doc comment lint as well, extract function.Hans Kratz-2/+2
2021-10-31Lint against RTL unicode codepoints in literals and commentsEsteban Küber-1/+38
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-5/+2
2021-10-15allow `potential_query_instability` everywherelcnr-2/+5
2021-09-28rustc_session: Remove lint store from `Session`Vadim Petrochenkov-15/+0
2021-09-26Pass real crate-level attributes to `pre_expansion_lint`Samuel Moelius-1/+2
2021-09-02ty::layout: split `LayoutOf` into required and (blanket) provided halves.Eduard-Mihai Burtescu-2/+2
2021-09-02ty::layout: implement `layout_of` automatically as a default method.Eduard-Mihai Burtescu-2/+3
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-5/+4
2021-08-27rustc_target: require `TyAbiInterface` in `LayoutOf`.Eduard-Mihai Burtescu-1/+22
2021-08-27rustc_target: add lifetime parameter to `LayoutOf`.Eduard-Mihai Burtescu-1/+1
2021-08-18Error when warnings lint group is used with force-warnRyan Levick-1/+10
2021-08-04Fix lint capitalization and ignoring, test with include_strasquared31415-1/+1
2021-08-04Lint against named asm labelsasquared31415-0/+4
2021-08-03Use a multipart suggestion for the parenthesesFabian Wolff-3/+6
2021-07-31Require parentheses to avoid confusions around labeled break and loop express...Fabian Wolff-0/+5
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-0/+6
2021-07-24Auto merge of #87296 - Aaron1011:inert-warn, r=petrochenkovbors-0/+10
2021-07-21Rename force-warns to force-warnRyan Levick-1/+1
2021-07-20Auto merge of #84959 - camsteffen:lint-suggest-group, r=estebankbors-7/+7
2021-07-19Warn on inert attributes used on bang macro invocationAaron Hill-0/+10
2021-07-08Rollup merge of #86639 - eholk:lint-tool, r=petrochenkovYuki Okushi-4/+40
2021-07-07Cleanup: unify lint name checkingEric Holk-18/+10