rust-clippy/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_ops.rs Use utils::sugg in ASSIGN_OPS 2016-07-01 17:12:48 +02:00
assign_ops2.rs don't lint on x = x + y inside an AddAssign impl 2016-12-19 11:13:07 +01:00
attrs.rs Remove #[feature(deprecated)] 2016-04-13 16:07:45 +02:00
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 chmod -x test files 2016-03-28 21:24:36 +02:00
block_in_if_condition.rs manually fix the overlong lines 2016-12-21 12:30:41 +01:00
bool_comparison.rs Fix some spelling mistakes here and there 2016-03-28 21:24:36 +02:00
booleans.rs Use span_suggestion for WHILE_LET_ON_ITERATOR 2016-06-07 18:32:40 +02:00
box_vec.rs Add a BLACKLISTED_NAME lint 2016-03-12 14:51:45 +01:00
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 Add a lint for casts from char literals to u8 2016-01-27 20:23:59 +01:00
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 fallout 2016-02-01 13:01:16 +01:00
conf_bad_arg.rs Start implementing a configuration file 2016-03-12 14:50:46 +01:00
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.rs mark cyclomatic complexity attribute as used 2016-11-02 10:29:57 +01:00
cyclomatic_complexity_attr_used.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 lint on binding-names that are too similar 2016-03-18 14:06:39 +01:00
duplicate_underscore_argument.rs Add new lint on function naming check (the '_') 2016-01-03 14:48:54 +01:00
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 chmod -x test files 2016-03-28 21:24:36 +02:00
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 ea0dc9297283daff6486807f43e190b4eb561412 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 Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
lifetimes.rs Fix false positive in NEEDLESS_LIFETIMES 2016-01-29 22:31:12 +01:00
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 Limited mem_forget error to only Drop types (fails) 2016-04-20 19:24:31 -07:00
methods.rs Suggest &s instead of s.as_str() 2016-11-20 11:19:36 -05:00
min_max.rs Match min and max functions using DefId 2015-11-11 11:08:33 -05:00
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 Add a BLACKLISTED_NAME lint 2016-03-12 14:51:45 +01: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 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 New lint for statement with no effect 2015-10-29 15:50:35 +09:00
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 Fix case conventions 2016-02-05 21:54:29 +01:00
overflow_check_conditional.rs refactoring and bugfix 2016-03-18 14:06:39 +01:00
panic.rs Fix problem in PANIC_PARAMS with inner format! 2016-03-15 21:05:37 +01:00
partialeq_ne_impl.rs implement 'Re-implementing PartialEq::ne' lint 2016-10-30 15:00:59 -04:00
patterns.rs Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
precedence.rs Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
print.rs chmod -x test files 2016-03-28 21:24:36 +02:00
print_with_newline.rs Test for #1275 2016-10-12 12:00:26 +02:00
ptr_arg.rs Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
range.rs Fix paths resolution 2016-04-26 13:31:52 +02:00
redundant_closure_call.rs Warn about calling a closure in the same expression where it's defined. 2016-03-05 22:41:52 +05:30
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 New lint for assignment to temporary 2015-11-04 21:37:18 +09:00
toplevel_ref_arg.rs Fix position of mut in toplevel-ref-arg (fixes #1100, again) 2016-07-15 19:02:41 +05:30
transmute.rs Fix wrong suggestion in TRANSMUTE_PTR_TO_REF with lts 2016-09-19 17:59:12 +02:00
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
unicode.rs Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
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 Add new lint on function naming check (the '_') 2016-01-03 14:48:54 +01:00
unsafe_removed_from_name.rs Expanded tests for unsafe_removed_from_name 2016-04-19 21:52:10 -07:00
unused_labels.rs chmod -x test files 2016-03-28 21:24:36 +02:00
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 Add - and / to EQ_OP 2016-02-07 13:26:34 +01:00