rust/tests/compile-fail
kennytm 5f09020e90 Added a lint_without_lint_pass lint.
Four lints were missing from LintPass, making them unavailable unless the
`clippy` lint group is explicitly enabled:

* `for_loop_over_result`
* `for_loop_over_option`
* `match_overlapping_arm`
* `filter_next`
2016-09-01 15:07:37 +08:00
..
absurd-extreme-comparisons.rs Use `span_suggestion` for `WHILE_LET_ON_ITERATOR` 2016-06-07 18:32:40 +02: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 a companion lint to `no_effect` with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
assign_ops.rs Use `utils::sugg` in `ASSIGN_OPS` 2016-07-01 17:12:48 +02:00
assign_ops2.rs lint `a += a + b` (possible mis-refactoring of `a = a + b`) 2016-07-20 15:29:24 +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 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_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 Fix different NaNs in if const expressions test 2016-07-13 10:02:28 -07:00
cyclomatic_complexity.rs cc: early returns are special 2016-04-23 14:30:05 +02:00
derive.rs Remove all `union` stuffs 2016-08-31 18:22:36 +02:00
dlist.rs Add a `BLACKLISTED_NAME` lint 2016-03-12 14:51:45 +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 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 Add a configurable threshold for enum variants before name lints trigger (fixes #1138) 2016-08-06 20:59:27 +02: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 Don't warn when boxing large arrays 2016-07-12 18:49:34 +05:30
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 Fix FP with `for` loops and shadowed loop variable 2016-07-10 14:05:57 +02:00
format.rs `chmod -x` test files 2016-03-28 21:24:36 +02:00
formatting.rs Rustup to ea0dc92972 2016-07-01 17:44:17 +02: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 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 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 lint on binding-names that are too similar 2016-03-18 14:06:39 +01: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 Add a lint about using `clone` on `Copy` types 2016-02-02 22:35:01 +01:00
matches.rs Use `utils::sugg` in `match` related lints 2016-07-03 23:27:37 +02:00
mem_forget.rs Limited mem_forget error to only Drop types (fails) 2016-04-20 19:24:31 -07:00
methods.rs Add a `MISSING_DOCS_IN_PRIVATE_ITEMS` lint 2016-08-23 18:28:39 +02: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 address nits and improve docs 2016-08-16 14:36:48 +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 suggestions for `NEW_WITHOUT_DEFAULT` 2016-07-10 14:20:38 +02:00
no_effect.rs Remove all `union` stuffs 2016-08-31 18:22:36 +02:00
non_expressive_names.rs Add environment variable to deactivate wiki links 2016-06-05 22:03:02 +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
print_with_newline.rs Lint print!("...\n") (closes #455) 2016-08-16 20:52:48 +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 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 `MISSING_DOCS_IN_PRIVATE_ITEMS` lint 2016-08-23 18:28:39 +02:00
strings.rs Add missing suggestions and help message to tests 2016-06-07 18:33:24 +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 Use `sugg::Sugg` in transmute links 2016-07-04 02:22:57 +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 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_LOOP` and break expressions 2016-06-16 16:21:11 +02:00
wrong_self_convention.rs enable changing wrong_self_convention's lint level at the function level 2016-08-08 17:09:36 +02:00
zero_div_zero.rs Add `-` and `/` to EQ_OP 2016-02-07 13:26:34 +01:00