rust/tests/compile-fail
Georg Brandl cab9905705 better help text for "match -> if let" lint
Implements the suggestion from #87.

Changes span_help_and_lint(), which is only used for this lint,
to use fileline_help() instead of span_help() to avoid printing
the span twice.

Also adds complete suggested new code. I had to distinguish
between blocks, which need no additionals braces, and other exprs.
2015-08-11 19:26:51 +02:00
..
approx_const.rs
attrs.rs removed false positives from inline_always (issue #84) 2015-06-07 12:03:56 +02:00
bit_masks.rs fixed issue #88 in bit_mask 2015-06-06 02:27:48 +02:00
box_vec.rs
cmp_nan.rs
cmp_owned.rs also included String::from in cmp_owned and fixed deprecation in test 2015-06-11 16:53:23 +02:00
collapsible_if.rs Fixed block check, also added macro test to collapsible_if and inline_always 2015-06-01 15:09:17 +02:00
dlist.rs
eq_op.rs new lint: identity_op, refactored bit_masks a bit 2015-05-15 18:46:43 +02:00
eta.rs Add eta reduction (fixes #29) 2015-05-10 11:49:08 +05:30
float_cmp.rs
identity_op.rs new lint: identity_op, refactored bit_masks a bit 2015-05-15 18:46:43 +02:00
len_zero.rs now the method lookup actually works (and I understand why! 😄), reduces unnecessary loops, and has a few comments 2015-06-01 12:49:36 +02:00
match_if_let.rs better help text for "match -> if let" lint 2015-08-11 19:26:51 +02:00
mut_mut.rs made macro test even simpler, added a few tests 2015-05-26 01:45:15 +02:00
needless_bool.rs
precedence.rs
ptr_arg.rs
strings.rs New string_add_assign lint (first part of #121), also formatting & refactoring 2015-08-05 15:10:45 +02:00
toplevel_ref_arg.rs
unicode.rs first unicode lint: zero_width_space 2015-06-11 11:35:00 +02:00