rust/tests/compile-fail
Nathan Weston 23a38c4170 New lint: Range::step_by(0) (fixes #95)
Uses type information so it can detect non-literal ranges as well
(Range or RangeFrom -- the other range types don't have step_by).
2015-08-16 12:58:54 -04:00
..
approx_const.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
attrs.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
bit_masks.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
box_vec.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
cmp_nan.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
cmp_owned.rs removed String::from_str(..) to fix build with 1.4.0-nightly/2015-08-14 2015-08-14 14:26:57 +02:00
collapsible_if.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
dlist.rs Use compiletest 2015-04-14 00:20:44 +05:30
eq_op.rs spelling fix, rework needless_bool with snippet (fixes #150) 2015-08-13 15:31:16 +02:00
eta.rs fixed false positives (at the cost of some false negatives) 2015-08-14 14:37:12 +02:00
float_cmp.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
for_loop.rs new lint: looping over x.iter() or x.iter_mut() (fixes #157) 2015-08-13 16:31:16 +02:00
identity_op.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
len_zero.rs len_zero: display full suggested expr in message 2015-08-12 10:53:14 +02:00
let_return.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
let_unit.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
lifetimes.rs lifetimes: fix case with one unnamed and one static ref (fixes #171) 2015-08-15 09:36:07 +02:00
match_if_let.rs misc: fix check for unit body in "match -> if let" lint (fixes #172) 2015-08-15 09:56:15 +02:00
methods.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
modulo_one.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
mut_mut.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
needless_bool.rs spelling fix, rework needless_bool with snippet (fixes #150) 2015-08-13 15:31:16 +02:00
needless_return.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
precedence.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
ptr_arg.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
range.rs New lint: Range::step_by(0) (fixes #95) 2015-08-16 12:58:54 -04:00
strings.rs fixed error messages in compile-fail test 2015-08-13 11:38:39 +02:00
toplevel_ref_arg.rs Use compiletest 2015-04-14 00:20:44 +05:30
unicode.rs unicode: add lint against non-ascii chars in literals (Allow by default), #85 2015-08-12 20:36:35 +02:00