rust/tests/compile-fail
Andre Bogus 9cfc42275d Split new_without_default and new_without_default_derive.
This is still very slow, because we do a trait lookup for each field.
Perhaps storing the visited types in a set to reuse types would improve
performance somewhat. Also we may want to pre-decide some known types
(e.g. `Vec<T>`, `Option<T>`).
2016-05-24 18:22:18 +02:00
..
absurd-extreme-comparisons.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
approx_const.rs lint on binding-names that are too similar 2016-03-18 14:06:39 +01: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 a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
assign_ops.rs suggest a op= b over a = a op b 2016-05-11 15:32:20 +02: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 fallout and tests 2016-03-29 10:45:18 +02:00
bool_comparison.rs Fix some spelling mistakes here and there 2016-03-28 21:24:36 +02:00
booleans.rs !(a == b) --> a != b 2016-03-29 17:18:47 +02:00
box_vec.rs Add a BLACKLISTED_NAME lint 2016-03-12 14:51:45 +01: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_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 Fix suggestion in COLLAPSIBLE_IF lint 2016-02-15 17:43:16 +01: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_french_blacklisted_name.rs chmod -x test files 2016-03-28 21:24:36 +02:00
conf_french_blacklisted_name.toml Add a BLACKLISTED_NAME lint 2016-03-12 14:51:45 +01:00
conf_non_existant.rs don't check for an exact error message 2016-05-13 13:45:25 +02:00
conf_unknown_key.rs Start implementing a configuration file 2016-03-12 14:50:46 +01:00
conf_unknown_key.toml White-list third-party in conf files 2016-03-12 14:51:47 +01:00
copies.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
cyclomatic_complexity.rs cc: early returns are special 2016-04-23 14:30:05 +02:00
derive.rs chmod -x test files 2016-03-28 21:24:36 +02:00
dlist.rs Add a BLACKLISTED_NAME lint 2016-03-12 14:51:45 +01:00
doc.rs Don’t warn in titles in DOC_MARKDOWN 2016-05-05 21:49:57 +02: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 Make if_not_else lint Allow by default (fixes #859) 2016-04-17 12:54:38 +02:00
enum_glob_use.rs fix enum glob use (again) 2016-02-18 16:08:45 +01:00
enum_variants.rs fix enum_variant_names linting on all caps enum variants 2016-02-17 13:33:32 +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 companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
escape_analysis.rs fixed #606 2016-02-01 20:37:07 +01:00
eta.rs add needless_borrow lint 2016-05-09 13:07:43 +02:00
float_cmp.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
for_loop.rs Fix tests 2016-05-08 01:13:05 +02:00
format.rs chmod -x test files 2016-03-28 21:24:36 +02:00
formatting.rs chmod -x test files 2016-03-28 21:24:36 +02:00
functions.rs fix typos 2016-05-13 08:50:51 +03:00
identity_op.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
if_not_else.rs Make if_not_else lint Allow by default (fixes #859) 2016-04-17 12:54:38 +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 lint on items following statements 2016-01-24 10:16:56 +01:00
len_zero.rs lint on binding-names that are too similar 2016-03-18 14:06:39 +01:00
let_return.rs Tests shouldn't be executable (fixes #444) 2015-11-09 08:49:20 +05:30
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
map_clone.rs Add a lint about using clone on Copy types 2016-02-02 22:35:01 +01:00
matches.rs Fix tests 2016-05-08 01:13:05 +02:00
mem_forget.rs Limited mem_forget error to only Drop types (fails) 2016-04-20 19:24:31 -07:00
methods.rs Split new_without_default and new_without_default_derive. 2016-05-24 18:22:18 +02:00
min_max.rs Match min and max functions using DefId 2015-11-11 11:08:33 -05: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 Rustup to *1.10.0-nightly (764ef92ae 2016-05-19)* 2016-05-23 16:11:28 +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 use snippet_opt and span_suggestion 2016-03-18 14:06:39 +01:00
needless_borrow.rs add needless_borrow lint 2016-05-09 13:07:43 +02:00
needless_return.rs Use suggestion for needless_return 2015-12-11 16:28:05 +09: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 Split new_without_default and new_without_default_derive. 2016-05-24 18:22:18 +02:00
no_effect.rs add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
non_expressive_names.rs merge struct similar_name test into the general test file 2016-05-11 17:01:34 +02: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
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
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
regex.rs Fix tests 2016-05-08 01:13:05 +02:00
shadow.rs Rustup to *1.10.0-nightly (476fe6eef 2016-05-21)* 2016-05-23 16:36:10 +02:00
strings.rs suggest a op= b over a = a op b 2016-05-11 15:32:20 +02:00
swap.rs chmod -x test files 2016-03-28 21:24:36 +02:00
temporary_assignment.rs New lint for assignment to temporary 2015-11-04 21:37:18 +09:00
toplevel_ref_arg.rs Don’t use {:?} and use span_suggestion in TOPLEVEL_REF_ARG 2016-02-09 21:22:30 +01:00
transmute.rs Rustup to 1.9.0-nightly (bf5da36f1 2016-04-06) 2016-04-08 02:23:14 +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 Rustup to *1.10.0-nightly (9c6904ca1 2016-05-18)* 2016-05-23 16:11:19 +02:00
vec.rs Add for _ in vec![…] to the USELESS_VEC lint 2016-03-28 23:32:55 +02:00
while_loop.rs Fix wrong suggestion in WHILE_LET_LOOP 2016-02-28 12:09:28 +01:00
wrong_self_convention.rs Add missing WRONG_PUB_SELF_CONVENTION in lint_array! and corresponding test 2016-01-03 14:42:24 +01:00
zero_div_zero.rs Add - and / to EQ_OP 2016-02-07 13:26:34 +01:00