summary refs log tree commit diff
path: root/src/librustc/lint
AgeCommit message (Expand)AuthorLines
2018-06-03[beta] Fix naming conventions for new lintsVadim Petrochenkov-11/+11
2018-05-04Mark lints with applicabilityManish Goregaokar-10/+11
2018-05-03Auto merge of #50413 - kennytm:rollup, r=kennytmbors-1/+1
2018-05-02make it compile againflip1995-2/+2
2018-05-02Remove Option from the return type of Attribute::name()Seiichi Uchida-1/+1
2018-05-01Clarify wordings of the `unstable_name_collision` lint.kennytm-1/+1
2018-04-26rustc_target: move LayoutOf's type parameter to an associated type.Irina Popa-1/+2
2018-04-20Add suggestion to lintManish Goregaokar-1/+19
2018-04-20Add ABSOLUTE_PATH_STARTING_WITH_MODULE epoch lint for path breakageManish Goregaokar-0/+8
2018-04-16Use locks for Session.lint_store and Session.buffered_lintsJohn Kåre Alsaker-4/+4
2018-04-10Auto merge of #49390 - Zoxc:sync-syntax, r=michaelwoeristerbors-3/+4
2018-04-06Use `Ident` instead of `Name` in `MetaItem`Vadim Petrochenkov-1/+1
2018-04-06Remove more duplicated spansVadim Petrochenkov-3/+3
2018-03-28Require lints to be Send + SyncJohn Kåre Alsaker-3/+4
2018-03-24Specialize future-incompatibility warning for UNSTABLE_NAME_COLLISION.kennytm-7/+13
2018-03-24When picking a candidate, consider the unstable ones last.kennytm-1/+8
2018-03-20change all appropriate EPOCH to EDITIONKurtis Nusbaum-1/+1
2018-03-20rename epoch to editionKurtis Nusbaum-16/+16
2018-03-14Make coerce_never lint an errorAndrew Cann-7/+0
2018-03-14remove defaulting to unitAndrew Cann-8/+0
2018-03-13refactor `ParamEnv::empty(Reveal)` into two distinct methodsNiko Matsakis-2/+1
2018-03-09Auto merge of #48326 - RalfJung:generic-bounds, r=petrochenkovbors-0/+27
2018-03-08Note the future epoch for epoch lintsManish Goregaokar-1/+6
2018-03-08Make bare_trait_lint allow for nowManish Goregaokar-4/+2
2018-03-08Move epochs to libsyntaxManish Goregaokar-5/+7
2018-03-08Add InterpretInterner to StableHashingContext for AllocId serializationOliver Schneider-2/+2
2018-03-08Nuke the entire ctfe from orbit, it's the only way to be sureOliver Schneider-0/+14
2018-03-02Run Rustfix on librustcManish Goregaokar-2/+2
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-3/+3
2018-02-27Emit parentheses in suggestion for global pathsManish Goregaokar-2/+3
2018-02-27Lint passes: add check_where_predicate and check_poly_trait_refRalf Jung-0/+27
2018-02-23span_bug doesn't work well at this stage, use the session directlyManish Goregaokar-1/+1
2018-02-23Add ability for hardwired lints to operate on the diagnostic builderManish Goregaokar-4/+46
2018-02-23Add hardwired lint for dyn traitManish Goregaokar-2/+10
2018-02-23Allow future-incompat lints to mention an epochManish Goregaokar-16/+57
2018-02-06Rollup merge of #47959 - Manishearth:rustdoc-ice, r=Mark-Simulacrumkennytm-5/+14
2018-02-04Auto merge of #47915 - eddyb:layout-of, r=nikomatsakisbors-1/+1
2018-02-02Fix rustdoc ICE on macros defined within functionsManish Goregaokar-5/+14
2018-02-02add ellided lifetimedpc-1/+9
2018-02-01rustc: prefer ParamEnvAnd and LayoutCx over tuples for LayoutOf.Eduard-Mihai Burtescu-1/+1
2018-01-18Rollup merge of #47458 - mark-i-m:lint_array_comma, r=estebankkennytm-6/+7
2018-01-16Allow a trailing comma in lint_array; fix #47428Mark Mansi-6/+7
2018-01-15Reexport -> re-export in error messagesCarol (Nichols || Goulding)-1/+1
2018-01-10Fix panic strings.Dan Robertson-1/+1
2017-12-25Auto merge of #46914 - mikeyhew:raw_pointer_self, r=arielb1bors-1/+8
2017-12-22Convert warning about `*const _` to a future-compat lintMichael Hewson-1/+8
2017-12-21Add GenericParam, refactor Generics in ast, hir, rustdocJonas Platte-11/+12
2017-12-20adding lint for single use lifetime namesNiko Matsakis-1/+8
2017-12-09one-time diagnostics: span_suggestion, generalize methods for non-lintsZack M. Davis-6/+7
2017-12-06convert errors to warningsAriel Ben-Yehuda-1/+1