rust/tests/compile-fail
Manish Goregaokar d61c7fc747 Merge pull request #1355 from philipturnbull/deref-addrof
Lint usage of `*&` and `*&mut`
2016-12-19 03:35:45 -08:00
..
absurd-extreme-comparisons.rs
approx_const.rs Include consts in the approx_consts lint for easier copypasting 2016-06-08 19:58:29 -04:00
arithmetic.rs
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
blacklisted_name.rs
block_in_if_condition.rs Cleanup 2016-11-18 13:40:44 +01:00
bool_comparison.rs
booleans.rs
box_vec.rs
builtin-type-shadow.rs Add a builtin_type_shadow lint 2016-08-28 19:56:18 +02:00
cast.rs
char_lit_as_u8.rs
cmp_nan.rs
cmp_null.rs New cmp_null lint (fixes #1184) (#1186) 2016-08-22 18:29:29 +02:00
cmp_owned.rs
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 Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14) 2016-11-16 23:05:26 +01:00
dlist.rs enum glob use and copies left 2016-12-02 17:38:31 +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
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 Add a configurable threshold for enum variants before name lints trigger (fixes #1138) 2016-08-06 20:59:27 +02:00
enums_clike.rs
eq_op.rs Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14) 2016-11-16 23:05:26 +01:00
escape_analysis.rs Remove EOL space 2016-09-09 20:24:15 +02:00
eta.rs
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
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
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
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
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
new_without_default.rs Fix suggestions for NEW_WITHOUT_DEFAULT 2016-07-10 14:20:38 +02:00
no_effect.rs Lint usage of *& and *&mut 2016-11-22 21:06:20 -05:00
non_expressive_names.rs
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 Convert DEREF_ADDROF to EarlyLintPass 2016-11-25 10:33:21 -05:00
regex.rs
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
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
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
unneeded_field_pattern.rs
unsafe_removed_from_name.rs
unused_labels.rs
unused_lt.rs
used_underscore_binding.rs Don't use identifier hygiene in HIR 2016-06-15 16:36:22 +02:00
useless_attribute.rs add regression test 2016-08-19 17:31:14 +02: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 Fix false positive for wrong_self_convention 2016-10-27 01:11:34 -07:00
zero_div_zero.rs