about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-1962.rs
AgeCommit message (Collapse)AuthorLines
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-18/+0
2017-09-30code suggestions for unused-mut, while-true lints; UI testZack M. Davis-1/+1
2015-01-31Kill more `isize`sTobias Bucher-3/+3
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-3/+3
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-3/+3
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-07-26Nomenclature fixes in the lint checker. Fewer double-negatives.Graydon Hoare-1/+1
New style is allow(foo), warn(foo), deny(foo) and forbid(foo), mirrored by -A foo, -W foo, -D foo and -F foo on command line. These replace -W no-foo, -W foo, -W err-foo, respectively. Forbid is new, and means "deny, and you can't override it".
2012-06-30change the test suite `//! kind` syntax to `//~ kind` in order to avoid aGareth Daniel Smith-1/+1
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-04-26Lowercase warning message.Graydon Hoare-1/+1
2012-04-19Add a lint pass to check for while true { ... } loopsTim Chevalier-0/+8
And suggest changing them to loop { ... }. Had to fix the few remaining while true loops (in core::io). Closes #1962.