rust/tests/compile-fail
llogiq 555328cc7b Merge pull request #422 from sanxiyn/no-effect
New lint for statement with no effect
2015-10-29 12:05:28 +01:00
..
approx_const.rs Compare float literals to stringified constants 2015-10-24 16:00:22 -07:00
attrs.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
bit_masks.rs all: remove trailing spaces 2015-09-28 07:11:03 +02:00
box_vec.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
cast.rs all: remove trailing spaces 2015-09-28 07:11:03 +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 Improve cmp_owned suggestions (fixes #386) 2015-10-13 04:16:05 +05:30
collapsible_if.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
complex_types.rs Fix type complexity lint 2015-10-15 19:55:14 +05:30
dlist.rs types: use middle::ty types instead of ast types 2015-08-21 19:21:19 +02:00
eq_op.rs eq_op: cut back to expressions that are guaranteed side effect free 2015-08-25 12:34:37 +02:00
eta.rs eta_reduction: fix false positive for unsafe fns (fixes #243) 2015-08-26 17:09:51 +02:00
float_cmp.rs check item name for eq, fixes #268 2015-09-02 10:30:11 +02:00
for_loop.rs Fix reverse_range_loop not taking sign into account (fixes #409) 2015-10-26 08:05:01 +01: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 generalize let_and_return for any block (closes #340) 2015-09-20 13:57:31 +02:00
let_unit.rs additional macro check + more tests 2015-09-10 08:51:14 +02:00
lifetimes.rs Fix rustup fallout: lifetimes false positives 2015-09-30 20:10:54 +05:30
matches.rs Don't show single_match if match_bool also applies 2015-10-28 22:26:48 -05:00
methods.rs methods: try to allow value self when type is Copy (fixes #273) 2015-09-01 21:08:49 +02:00
min_max.rs added test against const lookup 2015-09-05 16:24:41 +02:00
modulo_one.rs all: make style of lint messages consistent 2015-08-12 10:47:09 +02:00
mut_mut.rs Fix mut_mut false positive, make Allow (fixes #309) 2015-09-08 02:29:13 +05:30
mut_reference.rs Well, fix them again 2015-09-30 18:17:55 +02:00
mutex_atomic.rs Add a lint for sized integer types in a mutex 2015-10-07 22:58:34 +02:00
needless_bool.rs spelling fix, rework needless_bool with snippet (fixes #150) 2015-08-13 15:31:16 +02:00
needless_features.rs Cleanup as discussed in PR 2015-10-17 20:16:54 +02:00
needless_return.rs tests: use fragment of lint text for error checking 2015-08-13 08:12:07 +02:00
needless_update.rs New lint for statement with no effect 2015-10-29 15:50:35 +09:00
no_effect.rs New lint for statement with no effect 2015-10-29 15:50:35 +09:00
open_options.rs Add "nonsensical OpenOptions" lint 2015-10-07 13:46:51 +02:00
patterns.rs new lint: unnecessary patterns (x@_ -> x) 2015-08-30 19:02:30 +02:00
precedence.rs add precedence_negative_literal lint 2015-08-30 17:34:48 +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
shadow.rs Upgrade Rust to rustc 1.5.0-nightly (cff041170 2015-09-17) 2015-09-19 08:23:04 +05:30
strings.rs Rust upgrade to rustc 1.5.0-nightly (9d3e79ad3 2015-10-10) 2015-10-12 02:42:59 +05:30
toplevel_ref_arg.rs Handle let ref in toplevel_ref_arg as well 2015-09-22 12:46:51 +05:30
unicode.rs all: remove trailing spaces 2015-09-28 07:11:03 +02:00
unit_cmp.rs New lint for statement with no effect 2015-10-29 15:50:35 +09:00
while_loop.rs Fix false positives when iterator variable is used after the loop 2015-10-26 23:57:55 +01:00
zero_div_zero.rs implement 0.0/0.0 -> NaN lint as described in #370 2015-10-11 19:26:23 -07:00