summary refs log tree commit diff
path: root/src/librustc/lint/context.rs
AgeCommit message (Expand)AuthorLines
2015-10-17Add span_lint_note and span_lint_help to the LintContextnxnfufunezn-0/+22
2015-10-13Dict -> Struct, StructDef -> VariantData, def -> dataVadim Petrochenkov-4/+4
2015-10-13Provide span for visit_struct_def + remove some dead codeVadim Petrochenkov-2/+4
2015-10-13Remove now redundant NodeId from VariantVadim Petrochenkov-10/+10
2015-09-29Fill in some missing parts in the default HIR visitorVadim Petrochenkov-6/+2
2015-09-28Fill in some missing parts in the default AST visitorVadim Petrochenkov-6/+2
2015-09-22Use Names in HIR visitors and foldersVadim Petrochenkov-5/+5
2015-09-17Fix code broken by rebaseVadim Petrochenkov-3/+8
2015-09-17Correctly walk import lists in AST visitorsVadim Petrochenkov-0/+5
2015-09-17rebasingNick Cameron-21/+13
2015-09-17Change to a multi-trait approachNick Cameron-73/+94
2015-09-17Changes to testsNick Cameron-2/+2
2015-09-17Add an early lint pass for lints that operate on the ASTNick Cameron-85/+391
2015-09-16Auto merge of #28353 - GuillaumeGomez:error_codes, r=Manishearthbors-5/+6
2015-09-16Use ast attributes every where (remove HIR attributes).Nick Cameron-41/+7
2015-09-13Add part of new error codes in librustcGuillaume Gomez-5/+6
2015-09-03Move lints to HIRManish Goregaokar-47/+44
2015-09-03Add an intital HIR and lowering stepNick Cameron-1/+36
2015-08-25Respect `--color` when printing early errorsBarosl Lee-2/+3
2015-07-28rustc: Add a --cap-lints flag to the compilerAlex Crichton-1/+16
2015-07-15Implement lint deprecation/removal…Simonas Kazlauskas-10/+32
2015-06-18Make a better error message for using #[feature] on stable rustBrian Anderson-33/+1
2015-06-11Conver reborrows to .iter() calls where appropriateJoshua Landau-1/+1
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-1/+1
2015-03-11syntax: gather common fields of impl & trait items into their respective types.Eduard Burtescu-25/+16
2015-03-02Enable recursion for visit_ty in lint visitorIvan Petkov-1/+1
2015-02-28Rename LintPass::check_trait_method to check_trait_itemIvan Petkov-1/+1
2015-02-28Separate most of rustc::lint::builtin into a separate crate.Huon Wilson-76/+2
2015-02-22Rollup merge of #22592 - nikomatsakis:deprecate-bracket-bracket, r=aturonManish Goregaokar-10/+10
2015-02-22Rollup merge of #22542 - ipetkov:unsafe-lint, r=huonwManish Goregaokar-2/+2
2015-02-20Remove remaining uses of `[]`. This time I tried to use deref coercions where...Niko Matsakis-10/+10
2015-02-19Unsafe lint will also check for other unsafe codeIvan Petkov-2/+2
2015-02-18Replace all uses of `&foo[]` with `&foo[..]` en masse.Niko Matsakis-17/+17
2015-02-12Warn when linking a plugin into a non-plugin crateKeegan McAllister-0/+1
2015-02-11rollup merge of #21881: richo/lint-no-mangle-constAlex Crichton-1/+1
2015-02-06Update to last version, remove "[]" as much as possibleGuillaumeGomez-2/+2
2015-02-06librustc has been updatedGuillaumeGomez-3/+3
2015-02-05cleanup: replace `as[_mut]_slice()` calls with deref coercionsJorge Aparicio-4/+4
2015-02-02lint: Deny #[no_mangle] const itemsRicho Healey-1/+1
2015-02-02`for x in xs.into_iter()` -> `for x in xs`Jorge Aparicio-5/+5
2015-02-02`for x in xs.iter_mut()` -> `for x in &mut xs`Jorge Aparicio-1/+1
2015-02-02`for x in xs.iter()` -> `for x in &xs`Jorge Aparicio-6/+6
2015-02-01More deprecating of i/u suffixes in librariesAlfie John-1/+1
2015-01-29lint: warn about #[no_mangle] fns that aren't exportedRicho Healey-0/+1
2015-01-29`for x in range(a, b)` -> `for x in a..b`Jorge Aparicio-1/+1
2015-01-26Merge remote-tracking branch 'rust-lang/master'Brian Anderson-0/+1
2015-01-25Merge remote-tracking branch 'rust-lang/master'Brian Anderson-0/+1
2015-01-25Add a missing fmt::Debug impl lintSteven Fackler-0/+1
2015-01-25Merge remote-tracking branch 'rust-lang/master'Brian Anderson-32/+1
2015-01-25Add a lint to detect unconditional recursion.Huon Wilson-0/+1