rust/tests/compile-fail
Georg Brandl b2df15d65a ptr_arg improvements (fixes #214)
* do not trigger on mutable references
* use "real" type from ty, not AST type
2015-08-21 19:21:18 +02: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 fixed #203 and #197 2015-08-19 09:39:03 +02:00
box_vec.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
cast.rs Added support for isize/usize in the CastPass lint pass. 2015-08-21 03:03:37 +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 made is_negative(..) public (+doctest), fixed identity_op and precedence 2015-08-16 23:09:56 +02:00
collapsible_if.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
dlist.rs
eq_op.rs const folding for eq_op 2015-08-21 12:26:03 +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 make float_cmp check for zero 2015-08-17 12:08:45 +02:00
for_loop.rs new lint: lint when iterating over any Iterator::next() result (fixes #182) 2015-08-17 07:28:40 +02:00
identity_op.rs added regression test for #189 2015-08-17 12:08:45 +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 made is_negative(..) public (+doctest), fixed identity_op and precedence 2015-08-16 23:09:56 +02:00
ptr_arg.rs ptr_arg improvements (fixes #214) 2015-08-21 19:21:18 +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 restrict toplevel_ref_arg to only functions (fixes #170) 2015-08-16 17:24:03 +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
unit_cmp.rs new lint: comparing unit types (fixes #201) 2015-08-19 08:11:00 +02:00