about summary refs log tree commit diff
path: root/src/librustc/lint
AgeCommit message (Expand)AuthorLines
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
2019-05-17Auto merge of #49799 - hdhoang:46205_deny_incoherent_fundamental_impls, r=nik...bors-7/+0
2019-05-13Return a `Symbol` from `name_or_empty` functions.Nicholas Nethercote-3/+14
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-2/+2
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-2/+2
2019-05-03rustc: rename hir::def::Def to Res (short for "resolution").Eduard-Mihai Burtescu-3/+3
2019-05-03Rollup merge of #60478 - euclio:doc-fixes, r=cramertjMazdak Farrokhzad-4/+4
2019-05-03Rollup merge of #60388 - cramertj:elided-lifetime-async, r=nikomatsakisMazdak Farrokhzad-30/+50
2019-05-03Rollup merge of #59928 - petrochenkov:denyambass, r=varkorMazdak Farrokhzad-1/+1
2019-05-02fix markdown syntax in `LateContext` examplesAndy Russell-4/+4
2019-05-01Disallow non-explicit elided lifetimes in async fnTaylor Cramer-30/+50
2019-05-01Ensure that drop order of `async fn` matches `fn`.David Wood-5/+10
2019-04-28Implement internal lintsflip1995-10/+122
2019-04-23Rollup merge of #59823 - davidtwco:issue-54716, r=cramertjMazdak Farrokhzad-0/+19
2019-04-23Remove visit_subpats from check_pat in favor of state in EllipsisInclusiveRan...Tomas Koutsky-6/+5
2019-04-21Introduce `ArgSource` for diagnostics.David Wood-0/+3