summary refs log tree commit diff
path: root/src/librustc/lint
AgeCommit message (Expand)AuthorLines
2019-09-13Support "soft" feature-gating using a lintVadim Petrochenkov-0/+7
2019-07-28Rollup merge of #61856 - c410-f3r:attrs-fn, r=matthewjasperMazdak Farrokhzad-2/+22
2019-07-27Lint attributes on function argumentsCaio-2/+22
2019-07-23cleanup: Remove `extern crate serialize as rustc_serialize`sVadim Petrochenkov-1/+1
2019-07-19Implement checks for meta-variables in macrosJulien Cretin-1/+9
2019-07-17normalize use of backticks in compiler messages for librustc/lintSamy Kacimi-5/+5
2019-07-12Change `indirect_structural_match` lint to allow-by-default.Felix S. Klock II-1/+3
2019-07-11hygiene: Make sure each `Mark` has an associated expansion infoVadim Petrochenkov-1/+1
2019-07-11hygiene: Reuse `MacroKind` in `ExpnKind`Vadim Petrochenkov-11/+8
2019-07-11syntax: Make def-site span mandatory in ExpnInfo/MacroBacktrace/DiagnosticSpa...Vadim Petrochenkov-7/+5
2019-07-11Rename some things in `syntax_pos/hygiene`Vadim Petrochenkov-10/+10
2019-07-10Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-...bors-0/+6
2019-07-08future-compat lint for newly handled cases of `#[structural_match]`.Felix S. Klock II-0/+6
2019-07-07Support deprecation checking for macrosVadim Petrochenkov-0/+5
2019-07-05Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=ZoxcMazdak Farrokhzad-2/+2
2019-07-05Rollup merge of #61545 - flip1995:internal_lints, r=oli-obkMazdak Farrokhzad-26/+58
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-1/+1
2019-07-04rename hir::map::local_def_id to local_def_id_from_node_idljedrz-1/+1
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-26Remove outdated question_mark_macro_sep lintJulien Cretin-9/+1
2019-06-24Turn internal lints into tool lintsflip1995-13/+13
2019-06-24Allow default_hash_types in some cratesflip1995-1/+1
2019-06-24Only allow {declare,impl}_lint_pass macros for implementing LintPassflip1995-10/+24
2019-06-24Implement initernal lint LINT_PASS_IMPL_WITHOUT_MACROflip1995-17/+35
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-2/+2
2019-06-17remove _by_hir_id if there is no NodeId counterpartljedrz-2/+2
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-4/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-12/+12
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-8/+3
2019-06-12rustc: remove some unnecessary lifetimes in -> TyCtxt methods.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-11/+11
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-15/+15
2019-06-11rustc: deny(unused_lifetimes).Eduard-Mihai Burtescu-3/+3
2019-06-03syntax: revert `ast::AsyncArgument` and associated changes.Eduard-Mihai Burtescu-24/+0
2019-05-30Auto merge of #61253 - nnethercote:avoid-hygiene_data-lookups, r=petrochenkovbors-3/+3
2019-05-29Auto merge of #61203 - memoryruins:bare_trait_objects, r=Centrilbors-1/+1
2019-05-29Introduce and use `SyntaxContext::outer_expn_info()`.Nicholas Nethercote-3/+3
2019-05-28Set bare_trait_objects lint to warnmemoryruins-1/+1
2019-05-27Auto merge of #61140 - estebank:attr-diagnostics, r=michaelwoeristerbors-13/+20
2019-05-27Use `Symbol` more in lint APIsOliver Scherer-27/+33
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-13/+20
2019-05-25rustc: integrate ty::Const into ty::print as print_const.Eduard-Mihai Burtescu-1/+9
2019-05-24Rollup merge of #61098 - varkor:fix-overflowing-literal-in-loop, r=estebankMazdak Farrokhzad-15/+16
2019-05-23Fix missing overflowing literal lint in for loopvarkor-15/+16
2019-05-23Update lint_levelsJohn Kåre Alsaker-3/+3
2019-05-21Respect lint attributes on match armsMatthew Jasper-0/+6
2019-05-20Auto merge of #60815 - nnethercote:use-Symbol-more-2, r=petrochenkovbors-4/+5
2019-05-20Introduce `LocalInternedString::intern`.Nicholas Nethercote-4/+5
2019-05-18Fix lints handling in rustdocGuillaume Gomez-0/+3