rust/tests/compile-fail
Oliver Schneider f145fc44f8 Merge pull request #1414 from samueltardieu/no-short-circuit-if
Add a new "short_circuit_statement" lint (fixes #1194)
2017-01-05 10:41:14 +01:00
..
absurd-extreme-comparisons.rs fix absurd extreme comparisons false positive 2016-12-21 16:49:53 +01:00
approx_const.rs Include consts in the approx_consts lint for easier copypasting 2016-06-08 19:58:29 -04:00
arithmetic.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
array_indexing.rs Add missing tests for ... and array indexing 2016-10-02 14:42:55 +02:00
assign_ops2.rs don't lint on x = x + y inside an AddAssign impl 2016-12-19 11:13:07 +01:00
assign_ops.rs Use utils::sugg in ASSIGN_OPS 2016-07-01 17:12:48 +02:00
attrs.rs
bit_masks.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
blacklisted_name.rs
block_in_if_condition.rs manually fix the overlong lines 2016-12-21 12:30:41 +01:00
bool_comparison.rs
booleans.rs Use span_suggestion for WHILE_LET_ON_ITERATOR 2016-06-07 18:32:40 +02:00
box_vec.rs
builtin-type-shadow.rs Add a builtin_type_shadow lint 2016-08-28 19:56:18 +02:00
cast.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
char_lit_as_u8.rs
cmp_nan.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
cmp_null.rs New cmp_null lint (fixes #1184) (#1186) 2016-08-22 18:29:29 +02:00
cmp_owned.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
collapsible_if.rs Merge remote-tracking branch 'origin/rustup' into sugg 2016-07-01 17:48:57 +02:00
complex_types.rs
conf_bad_arg.rs
conf_bad_toml.rs Add more tests for bad configuration file 2016-10-02 14:43:09 +02:00
conf_bad_toml.toml Add more tests for bad configuration file 2016-10-02 14:43:09 +02:00
conf_bad_type.rs Test configuration file typing errors 2016-10-02 14:46:46 +02:00
conf_bad_type.toml Test configuration file typing errors 2016-10-02 14:46:46 +02:00
conf_french_blacklisted_name.rs aux -> auxiliary (breaks Windows) 2016-10-04 09:15:03 +05:30
conf_non_existant.rs aux -> auxiliary (breaks Windows) 2016-10-04 09:15:03 +05:30
conf_path_non_string.rs Add more tests for bad configuration file 2016-10-02 14:43:09 +02:00
conf_unknown_key.rs aux -> auxiliary (breaks Windows) 2016-10-04 09:15:03 +05:30
copies.rs uncomment code that was commented out for testing 2016-12-04 19:31:46 +01:00
cyclomatic_complexity_attr_used.rs mark cyclomatic complexity attribute as used 2016-11-02 10:29:57 +01:00
cyclomatic_complexity.rs mark cyclomatic complexity attribute as used 2016-11-02 10:29:57 +01:00
derive.rs Revert "Remove all union stuffs" 2016-09-04 17:45:36 +02:00
diverging_sub_expression.rs Add a new "short_circuit_statement" lint (fixes #1194) 2016-12-31 01:17:39 +01:00
dlist.rs Don’t warn for types used in trait implementation 2016-12-21 15:42:20 +01:00
doc.rs Lint literal suffixes not separated by underscores (see #703) 2016-08-05 18:50:23 +02:00
double_neg.rs new lint: double_neg 2016-06-30 01:00:25 +02:00
double_parens.rs Add test for double_parens lint. 2016-12-28 11:21:53 -08:00
drop_ref.rs
duplicate_underscore_argument.rs
entry.rs Lint literal suffixes not separated by underscores (see #703) 2016-08-05 18:50:23 +02:00
enum_glob_use.rs Add a MISSING_DOCS_IN_PRIVATE_ITEMS lint 2016-08-23 18:28:39 +02:00
enum_variants.rs split pub_enum_variant_names to new lint 2016-12-21 13:30:57 +01:00
enums_clike.rs ignore the portability test on 32 bit 2016-05-13 13:45:53 +02:00
eq_op.rs Add a new "short_circuit_statement" lint (fixes #1194) 2016-12-31 01:17:39 +01:00
escape_analysis.rs fix an ice related to associated types 2016-12-22 14:16:07 +01:00
eta.rs add needless_borrow lint 2016-05-09 13:07:43 +02:00
eval_order_dependence.rs Add lint for reads and writes that depend on evaluation order 2016-08-11 06:01:40 -05:00
filter_methods.rs Add a MISSING_DOCS_IN_PRIVATE_ITEMS lint 2016-08-23 18:28:39 +02:00
float_cmp.rs Use utils::sugg in FLOAT_CMP 2016-07-01 17:12:48 +02:00
for_loop.rs Add a lint to warn about un-necessary .into_iter() 2016-09-30 17:42:43 -07:00
format.rs
formatting.rs Convert DEREF_ADDROF to EarlyLintPass 2016-11-25 10:33:21 -05:00
functions.rs extern fns often need to adhere to a specific api -> don't suggest api-changes 2016-08-08 17:21:47 +02:00
identity_op.rs Fix compile-fail tests by allowing double_parens. 2016-12-28 12:04:46 -08:00
if_let_redundant_pattern_matching.rs Add lint for redundant pattern matching in iflet for Result/Option 2016-10-30 15:43:46 +01:00
if_not_else.rs Lint literal suffixes not separated by underscores (see #703) 2016-08-05 18:50:23 +02:00
invalid_upcast_comparisons.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
item_after_statement.rs Rustup to ea0dc92972 2016-07-01 17:44:17 +02:00
len_zero.rs Restrict len_without_is_empty to exported items 2016-09-02 15:30:06 +02:00
let_if_seq.rs Fix yet another FP in USELESS_LET_IF_SEQ 2016-06-09 23:33:38 +02:00
let_return.rs Fix wrong tests and improve some other 2016-06-07 17:32:36 +02:00
let_unit.rs
lifetimes.rs
lint_pass.rs Added a lint_without_lint_pass lint. 2016-09-01 15:07:37 +08:00
literals.rs Fix FP in ZERO_PREFIXED_LITERAL and 0b/Oo 2016-08-28 18:00:09 +02:00
map_clone.rs Handle closure with single expression blocks 2016-11-17 19:44:18 +01:00
matches.rs Add lint for redundant pattern matching in iflet for Result/Option 2016-10-30 15:43:46 +01:00
mem_forget.rs
methods.rs Suggest &s instead of s.as_str() 2016-11-20 11:19:36 -05:00
min_max.rs
missing-doc.rs Add a MISSING_DOCS_IN_PRIVATE_ITEMS lint 2016-08-23 18:28:39 +02:00
module_inception.rs also lint private modules for module_inception, as that is the main issue 2016-09-13 10:19:55 +02:00
modulo_one.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
mut_mut.rs Fix FP with mut_mut and for loops 2016-06-29 17:09:39 +02:00
mut_reference.rs
mutex_atomic.rs
needless_bool.rs Fix suggestions for needless_bool 2016-07-04 01:43:47 +02:00
needless_borrow.rs lint on by ref patterns for references 2016-08-01 16:59:14 +02:00
needless_return.rs Fix suggestion spans for NEEDLESS_RETURN 2016-07-14 18:32:48 +02:00
needless_update.rs
neg_multiply.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
new_without_default.rs Fix suggestion span on new_without_default (fixes #1407) 2016-12-29 11:19:32 -08:00
no_effect.rs Lint usage of *& and *&mut 2016-11-22 21:06:20 -05:00
non_expressive_names.rs Add environment variable to deactivate wiki links 2016-06-05 22:03:02 +02:00
ok_if_let.rs readded files 2016-10-02 13:49:29 -07:00
open_options.rs
overflow_check_conditional.rs
panic.rs
partialeq_ne_impl.rs implement 'Re-implementing PartialEq::ne' lint 2016-10-30 15:00:59 -04:00
patterns.rs
precedence.rs
print_with_newline.rs Test for #1275 2016-10-12 12:00:26 +02:00
print.rs
ptr_arg.rs
range.rs
redundant_closure_call.rs
reference.rs Fix compile-fail tests by allowing double_parens. 2016-12-28 12:04:46 -08:00
regex.rs Support RegexBuilder 2016-05-25 21:36:51 +02:00
serde.rs lint on implementing visit_string without also implementing visit_str 2016-07-12 17:36:11 +02:00
shadow.rs Add a test for a shadow corner case 2016-10-02 02:38:54 +02:00
short_circuit_statement.rs Add a new "short_circuit_statement" lint (fixes #1194) 2016-12-31 01:17:39 +01:00
strings.rs Add missing suggestions and help message to tests 2016-06-07 18:33:24 +02:00
stutter.rs add tests for stutter lints 2016-09-13 10:20:10 +02:00
swap.rs Fix wrong tests and improve some other 2016-06-07 17:32:36 +02:00
temporary_assignment.rs
toplevel_ref_arg.rs Fix position of mut in toplevel-ref-arg (fixes #1100, again) 2016-07-15 19:02:41 +05:30
transmute_32bit.rs lint on unnecessary and plain wrong transmutes 2016-06-28 14:08:08 +02:00
transmute_64bit.rs lint on unnecessary and plain wrong transmutes 2016-06-28 14:08:08 +02:00
transmute.rs Fix wrong suggestion in TRANSMUTE_PTR_TO_REF with lts 2016-09-19 17:59:12 +02:00
unicode.rs
unit_cmp.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
unneeded_field_pattern.rs
unsafe_removed_from_name.rs
unused_labels.rs
unused_lt.rs Rustup to *1.10.0-nightly (cd6a40017 2016-05-16)* 2016-05-17 23:25:20 +02:00
used_underscore_binding.rs Don't use identifier hygiene in HIR 2016-06-15 16:36:22 +02:00
useless_attribute.rs Allow allow(deprecated) attribute on use items 2016-12-01 22:36:35 +01:00
vec.rs Fix FP with USELESS_VEC and non-copy types 2016-07-14 19:31:17 +02:00
while_loop.rs Fix FP with WHILE_LET_ON_ITERATOR and refutable pats 2016-09-16 15:50:35 +02:00
wrong_self_convention.rs Bump to 0.0.106; Fix false positive in wrong_self_convention (fix #1420) 2017-01-04 18:05:04 -08:00
zero_div_zero.rs