rust/src/test/ui
bors 57d7cfc3cf Auto merge of #56645 - pietroalbini:fix-unused-imports, r=estebank
Initial implementation of rustfixable unused_imports lint

This PR adds the initial implementation of rustfixable `unused_imports` lint. The implementation works, but rustfix is not able to apply all the suggestions until https://github.com/rust-lang/rust/issues/53934 is fixed. It also needs https://github.com/rust-lang/rust/pull/58296 to hide the suggested note since it's really useless.

cc https://github.com/rust-lang/rust/issues/47888

<details><summary><code>cargo fix</code> in action on the <code>unused_imports</code> lint</summary>

![screenshot from 2018-12-09 15-49-01](https://user-images.githubusercontent.com/2299951/49698874-3a026080-fbca-11e8-9bf1-24060b6c59c8.png)

</details>
2019-02-11 10:34:09 +00:00
..
alloc-error
allocator
asm
associated-const
associated-item
associated-type
associated-types Refer to synthetically named lifetimes as "some specific lifetime" rather than "the specific lifetime" 2019-01-28 23:12:13 +01:00
attrs-with-no-formal-in-generics Adjust parser generic parameter errors 2019-02-07 15:02:17 +01:00
auxiliary
await-keyword
bad Auto merge of #56645 - pietroalbini:fix-unused-imports, r=estebank 2019-02-11 10:34:09 +00:00
bind-by-move
binop Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
blind
block-result Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
borrowck Replace deprecated ATOMIC_INIT consts 2019-01-26 15:27:38 -07:00
builtin-superkinds
cast Declare some unconst operations as unsafe in const fn 2019-01-21 16:01:57 +01:00
chalkify
check_match
closure_context
closure-expected-type
closures
codemap_tests Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
coercion
coherence fix test output changing in rebase 2019-01-15 00:27:00 +02:00
compare-method
conditional-compilation
confuse-field-and-method
const-generics Add a test forbidding the use of const parameters in inner items 2019-02-07 15:03:20 +01:00
consts Add a forever unstable opt-out of const qualification checks 2019-01-31 14:03:01 +01:00
cross
custom_test_frameworks
custom-derive
cycle-trait
dep-graph
deprecation Add suggestions to deprecation lints 2019-01-30 17:49:04 +01:00
derived-errors
derives
did_you_mean Suggest to add each of | and () when unexpected , is found in pattern 2019-01-30 13:50:44 +09:00
directory_ownership
disallowed-deconstructing
discrim
dollar-crate
dropck
dst
duplicate Update tests 2019-02-07 15:02:17 +01:00
e0119 Rollup merge of #56796 - KrishnaSannasi:try_from_impl_change, r=shepmaster 2019-01-21 02:21:53 +01:00
editions
empty Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
enum
error-codes Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
exclusive-range
existential_types Remove unused feature gates 2019-01-23 11:34:58 +01:00
explicit
extenv
extern
feature-gate Rollup merge of #57650 - AB1908:master, r=petrochenkov 2019-01-18 22:56:43 +01:00
feature-gates Add const generics feature gate test 2019-02-07 15:02:17 +01:00
fmt
fn
for
fully-qualified-type Point at return type when appropriate 2019-01-18 00:12:09 -08:00
functional-struct-update Move privacy checking later in the pipeline and make some passes run in parallel 2019-01-30 21:19:02 +01:00
generator Auto merge of #57901 - lqd:issue_57362, r=nikomatsakis 2019-01-29 16:58:15 +00:00
generic
hello_world
hr-subtype
hrtb Refer to synthetically named lifetimes as "some specific lifetime" rather than "the specific lifetime" 2019-01-28 23:12:13 +01:00
hygiene
if Tweak output of type mismatch between "then" and else if arms 2019-01-13 17:35:59 -08:00
impl-header-lifetime-elision
impl-trait Resolve incorrect diagnostic for using a non-const value in a constant 2019-02-07 16:03:12 +01:00
imports unused_imports: update tests 2019-02-08 08:44:56 +01:00
in-band-lifetimes
include-macros
inference
infinite
interior-mutability
internal
invalid
invalid-module-declaration
invalid-self-argument
issues Auto merge of #56645 - pietroalbini:fix-unused-imports, r=estebank 2019-02-11 10:34:09 +00:00
iterators
keyword remove extern_in_paths. 2019-01-13 14:18:00 +01:00
kindck
label
layout distinguish "no data" from "heterogeneous" for ABI purposes 2019-01-25 10:03:47 -05:00
lifetimes
lint unused_imports: update tests 2019-02-08 08:44:56 +01:00
liveness Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
loops
lub-glb
macro_backtrace
macros update test 2019-02-07 12:17:27 -06:00
malformed
manual
marker_trait_attr
match Auto merge of #57387 - euclio:nonstandard-style-suggestions, r=oli-obk 2019-01-14 06:35:51 +00:00
methods add tests to a few edge cases in method lookup 2019-01-29 01:00:25 +02:00
mir-dataflow
mismatched_types Rollup merge of #57481 - euclio:bool-cast-suggestion, r=estebank 2019-01-14 20:31:53 +01:00
missing
missing_non_modrs_mod
mod
moves Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
mut
namespace
nll Lower constant patterns with ascribed types. 2019-02-06 21:10:43 +01:00
non_modrs_mods_and_inline_mods
non-exhaustive
not-panic
numeric
object-lifetime
object-safety
obsolete-in-place
on-unimplemented Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
packed-struct
panic-handler
panic-runtime
parser Auto merge of #57944 - estebank:unclosed-delim-the-quickening, r=oli-obk 2019-02-09 20:15:57 +00:00
pattern Rollup merge of #57587 - Aaron1011:fix/const-pat-ice, r=alexcrichton 2019-01-15 12:42:12 +01:00
print_type_sizes
print-fuel
privacy Auto merge of #58010 - Zoxc:parallel-passes, r=michaelwoerister 2019-02-07 09:49:08 +00:00
proc-macro Auto merge of #57973 - davidtwco:issue-52891, r=estebank 2019-02-05 05:14:15 +00:00
pub
qualified
range
reachable
recursion
regions Handle lifetime annotations in unreachable code 2019-01-19 16:30:45 +00:00
repr Add more tests for #[repr(align(x))] on enums 2019-01-31 14:18:51 +01:00
reserved
resolve Auto merge of #57944 - estebank:unclosed-delim-the-quickening, r=oli-obk 2019-02-09 20:15:57 +00:00
return Point at return type when appropriate 2019-01-18 00:12:09 -08:00
rfc1445
rfc1598-generic-associated-types Update tests 2019-02-07 15:02:17 +01:00
rfc1717
rfc-0107-bind-by-move-pattern-guards
rfc-1937-termination-trait
rfc-2005-default-binding-mode
rfc-2008-non-exhaustive
rfc-2093-infer-outlives
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths
rfc-2166-underscore-imports unused_imports: update tests 2019-02-08 08:44:56 +01:00
rfc-2306
rfc-2361-dbg-macro Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
rfc-2497-if-let-chains
run-pass/traits
rust-2018
self
shadowed
simd-intrinsic Auto merge of #57269 - gnzlbg:simd_bitmask, r=rkruppe 2019-01-24 13:11:06 +00:00
single-use-lifetime
span unused_imports: update tests 2019-02-08 08:44:56 +01:00
specialization
stability-attribute
static Add a compile-fail test for Drop in constants in the presence of Options 2019-01-25 09:54:25 +01:00
str Rollup merge of #57604 - alercah:str-index, r=sfackler 2019-01-22 12:20:28 +01:00
structs Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis 2019-01-14 11:31:53 +01:00
suggestions Update tests 2019-02-07 15:02:17 +01:00
svh
symbol-names
test-shadowing
tool-attributes
traits Update tests 2019-02-07 15:02:17 +01:00
transmute
trivial-bounds
try-block When using value after move, point at span of local 2019-01-24 10:36:50 -08:00
tuple
type Resolve incorrect diagnostic for using a non-const value in a constant 2019-02-07 16:03:12 +01:00
typeck unit test for issue 57673. 2019-01-22 14:49:18 +01:00
ufcs
unboxed-closures Do not suggest angle brackets when there are no type arguments 2019-01-20 02:47:51 -08:00
underscore-lifetime
uninhabited
union Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
unreachable
unresolved Add suggestion for duplicated import. 2019-01-31 12:01:28 +01:00
unsafe
unsized
unsized-locals Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
unused
use unused_imports: update tests 2019-02-08 08:44:56 +01:00
variadic
variance
variants
vec
wf
where-clauses Refer to synthetically named lifetimes as "some specific lifetime" rather than "the specific lifetime" 2019-01-28 23:12:13 +01:00
xcrate
.gitattributes
absolute-paths-in-nested-use-groups.rs
absolute-paths-in-nested-use-groups.stderr
access-mode-in-closures.nll.stderr
access-mode-in-closures.rs
access-mode-in-closures.stderr
allocator-submodule.rs
allocator-submodule.stderr
always-inhabited-union-ref.rs
always-inhabited-union-ref.stderr
anon-params-denied-2018.rs
anon-params-denied-2018.stderr
anon-params-deprecated.fixed
anon-params-deprecated.rs
anon-params-deprecated.stderr
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr
arbitrary-self-types-not-object-safe.rs
arbitrary-self-types-not-object-safe.stderr
arg-count-mismatch.rs
arg-count-mismatch.stderr
arg-type-mismatch.rs
arg-type-mismatch.stderr
array_const_index-0.rs
array_const_index-0.stderr
array_const_index-1.rs
array_const_index-1.stderr
array-break-length.rs
array-break-length.stderr
array-not-vector.rs
array-not-vector.stderr
assign-imm-local-twice.ast.nll.stderr
assign-imm-local-twice.ast.stderr
assign-imm-local-twice.mir.stderr
assign-imm-local-twice.rs
assign-to-method.rs
assign-to-method.stderr
assignment-operator-unimplemented.rs
assignment-operator-unimplemented.stderr
assoc-inherent.rs
assoc-inherent.stderr
associated-path-shl.rs
associated-path-shl.stderr
async-fn-multiple-lifetimes.rs
async-fn-multiple-lifetimes.stderr
async-matches-expr.rs
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-eq-token-tree.rs
attr-usage-inline.rs
attr-usage-inline.stderr
attr-usage-repr.rs Allow #[repr(align(x))] on enums (#57996) 2019-01-30 14:15:38 +01:00
attr-usage-repr.stderr Allow #[repr(align(x))] on enums (#57996) 2019-01-30 14:15:38 +01:00
attribute-with-no-generics-in-parameter-list.rs Add warning for a parameter list with an attribute but no parameters 2019-02-07 15:03:20 +01:00
attribute-with-no-generics-in-parameter-list.stderr Add warning for a parameter list with an attribute but no parameters 2019-02-07 15:03:20 +01:00
augmented-assignments.nll.stderr Fix nll test output 2019-02-08 01:16:56 -08:00
augmented-assignments.rs
augmented-assignments.stderr
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
auto-trait-validation.rs
auto-trait-validation.stderr
autoderef-full-lval.rs
autoderef-full-lval.stderr
bastion-of-the-turbofish.rs
binary-op-on-double-ref.rs
binary-op-on-double-ref.stderr
bogus-tag.rs
bogus-tag.stderr
bounds-lifetime.rs
bounds-lifetime.stderr
break-outside-loop.rs
break-outside-loop.stderr
break-while-condition.rs
break-while-condition.stderr
by-move-pattern-binding.nll.stderr
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
call-fn-never-arg-wrong-type.rs
call-fn-never-arg-wrong-type.stderr
can-begin-expr-check.rs
can-begin-expr-check.stderr
cannot-mutate-captured-non-mut-var.ast.nll.stderr
cannot-mutate-captured-non-mut-var.ast.stderr
cannot-mutate-captured-non-mut-var.mir.stderr
cannot-mutate-captured-non-mut-var.rs
capture1.rs
capture1.stderr
cast_char.rs
cast_char.stderr
casts-differing-anon.rs
casts-differing-anon.stderr
casts-issue-46365.rs
casts-issue-46365.stderr
cdylib-deps-must-be-static.rs
cdylib-deps-must-be-static.stderr
changing-crates.rs
changing-crates.stderr
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr
check-static-values-constraints.nll.stderr
check-static-values-constraints.rs
check-static-values-constraints.stderr
class-cast-to-trait.rs
class-cast-to-trait.stderr
class-method-missing.rs
class-method-missing.stderr
class-missing-self.rs
class-missing-self.stderr
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
closure_promotion.rs
closure_promotion.stderr
closure-expected.rs
closure-expected.stderr
command-line-diagnostics.nll.stderr
command-line-diagnostics.rs
command-line-diagnostics.stderr
compile_error_macro.rs
compile_error_macro.stderr
concat.rs
concat.stderr
conflicting-repr-hints.rs
conflicting-repr-hints.stderr
conservative_impl_trait.rs
conservative_impl_trait.stderr
constructor-lifetime-args.rs
constructor-lifetime-args.stderr
conversion-methods.rs
conversion-methods.stderr
copy-a-resource.rs
copy-a-resource.stderr
crate-in-paths.rs
crate-in-paths.stderr
crate-name-mismatch.rs
crate-name-mismatch.stderr
custom_attribute.rs
custom_attribute.stderr
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs
cycle-projection-based-on-where-clause.rs
cycle-projection-based-on-where-clause.stderr
dead-code-closure-bang.rs
dead-code-ret.rs
dead-code-ret.stderr
dead-code-tuple-struct-field.rs
defaulted-never-note.rs
defaulted-never-note.stderr
deref-non-pointer.rs
deref-non-pointer.stderr
deref-suggestion.rs
deref-suggestion.stderr
derive-uninhabited-enum-38885.rs
derive-uninhabited-enum-38885.stderr
destructure-trait-ref.rs
destructure-trait-ref.stderr
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr
diverging-tuple-parts-39485.rs
diverging-tuple-parts-39485.stderr Avoid pointing at multiple places on return type error 2019-01-17 22:33:20 -08:00
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr
dotdotdot-expr.rs
dotdotdot-expr.stderr
double-import.rs
double-import.stderr
double-type-import.rs
double-type-import.stderr Add suggestion for duplicated import. 2019-01-31 12:01:28 +01:00
duplicate_entry_error.rs
duplicate_entry_error.stderr
dyn-trait-compatibility.rs
dyn-trait-compatibility.stderr
E0501.ast.nll.stderr
E0501.ast.stderr
E0501.mir.stderr
E0501.rs
E0506.ast.nll.stderr
E0506.ast.stderr
E0506.mir.stderr
E0506.rs
E0508-fail.ast.nll.stderr
E0508-fail.ast.stderr
E0508-fail.mir.stderr
E0508-fail.rs
E0508.ast.stderr
E0508.mir.stderr
E0508.nll.stderr
E0508.rs
E0508.stderr
E0583.rs
E0583.stderr
E0594.ast.nll.stderr
E0594.ast.stderr
E0594.mir.stderr
E0594.rs
E0596.ast.nll.stderr
E0596.ast.stderr
E0596.mir.stderr
E0596.rs
E0642.rs
E0642.stderr
E0660.rs
E0660.stderr
E0661.rs
E0661.stderr
E0662.rs
E0662.stderr
E0663.rs
E0663.stderr
E0664.rs
E0664.stderr
E0665.rs
E0665.stderr
E0705.rs
E0705.stderr
elide-errors-on-mismatched-tuple.rs
elide-errors-on-mismatched-tuple.stderr
elided-test.rs
elided-test.stderr
enable-unstable-lib-feature.rs
enable-unstable-lib-feature.stderr
enum-variant-generic-args.rs
enum-variant-generic-args.stderr
enums-pats-not-idents.rs
enums-pats-not-idents.stderr
error-festival.rs
error-festival.stderr Rollup merge of #57481 - euclio:bool-cast-suggestion, r=estebank 2019-01-14 20:31:53 +01:00
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr
estr-subtyping.rs
estr-subtyping.stderr
eval-enum.rs
eval-enum.stderr
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr
exhaustive_integer_patterns.rs
exhaustive_integer_patterns.stderr
expanded-cfg.rs
explain.rs
explain.stdout
explore-issue-38412.rs
explore-issue-38412.stderr
export2.rs
export2.stderr
export-fully-qualified.rs
export-fully-qualified.stderr
export-import.rs
export-import.stderr
export-tag-variant.rs
export-tag-variant.stderr
export.rs
export.stderr
expr_attr_paren_order.rs
expr_attr_paren_order.stderr
ext-nonexistent.rs
ext-nonexistent.stderr
extoption_env-no-args.rs
extoption_env-no-args.stderr
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr
fail-no-dead-code-core.rs
fail-no-dead-code-core.stderr
fail-no-dead-code.rs
fail-no-dead-code.stderr
fail-simple.rs
fail-simple.stderr
fat-ptr-cast.rs
fat-ptr-cast.stderr
feature-gate-optimize_attribute.rs Resolve breakage 2019-01-25 19:20:38 +02:00
feature-gate-optimize_attribute.stderr Resolve breakage 2019-01-25 19:20:38 +02:00
feature-gated-feature-in-macro-arg.rs
feature-gated-feature-in-macro-arg.stderr
float-literal-inference-restrictions.rs
float-literal-inference-restrictions.stderr
fn_must_use.rs
fn_must_use.stderr
foreign-fn-return-lifetime.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.stderr
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr
gated-bad-feature.rs
gated-bad-feature.stderr
generator-yielding-or-returning-itself.rs
generator-yielding-or-returning-itself.stderr
glob-cycles.rs
glob-resolve1.rs
glob-resolve1.stderr
hashmap-iter-value-lifetime.nll.stderr
hashmap-iter-value-lifetime.rs
hashmap-iter-value-lifetime.stderr
hashmap-lifetimes.nll.stderr
hashmap-lifetimes.rs
hashmap-lifetimes.stderr
hidden-rt-injection2.rs
hidden-rt-injection2.stderr
hidden-rt-injection.rs
hidden-rt-injection.stderr
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
huge-array-simple.rs
huge-array.rs
huge-array.stderr
huge-enum.rs With this change, I am able to build and test cross-platform rustc 2019-01-16 14:37:22 +01:00
huge-enum.stderr With this change, I am able to build and test cross-platform rustc 2019-01-16 14:37:22 +01:00
huge-struct.rs
huge-struct.stderr
if-else-type-mismatch.rs Suggest removal of semicolon when appropriate 2019-01-13 17:36:29 -08:00
if-else-type-mismatch.stderr Suggest removal of semicolon when appropriate 2019-01-13 17:36:29 -08:00
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr
immut-function-arguments.ast.nll.stderr
immut-function-arguments.ast.stderr
immut-function-arguments.mir.stderr
immut-function-arguments.rs
impl-bounds-checking.rs
impl-bounds-checking.stderr
impl-duplicate-methods.rs
impl-duplicate-methods.stderr
impl-unused-rps-in-assoc-type.rs
impl-unused-rps-in-assoc-type.stderr
impl-unused-tps-inherent.rs
impl-unused-tps-inherent.stderr
impl-unused-tps.rs
impl-unused-tps.stderr
implicit-method-bind.rs
implicit-method-bind.stderr
import2.rs
import2.stderr
import3.rs
import3.stderr
import4.rs
import4.stderr
import.rs
import.stderr
impossible_range.rs
impossible_range.stderr
inaccessible-test-modules.rs
inaccessible-test-modules.stderr
index_message.rs
index_message.stderr
index-bot.rs
index-bot.stderr
index-help.rs
index-help.stderr Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
indexing-requires-a-uint.rs Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
indexing-requires-a-uint.stderr Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
init-unsafe.rs
init-unsafe.stderr
inline-asm-bad-constraint.rs
inline-asm-bad-constraint.stderr
inline-asm-bad-operand.rs
inline-asm-bad-operand.stderr
inner-static-type-parameter.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
inner-static-type-parameter.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
integer-literal-suffix-inference.rs
integer-literal-suffix-inference.stderr
integral-indexing.rs Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
integral-indexing.stderr Make str indexing generic on SliceIndex. 2019-01-19 04:16:05 -05:00
integral-variable-unification-error.rs
integral-variable-unification-error.stderr
invalid_crate_type_syntax.rs
invalid_crate_type_syntax.stderr
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr
issue-18986.rs
issue-18986.stderr
issue-53787-inline-assembler-macro.rs Remove trailing whitespace 2019-01-16 06:29:44 +00:00
issue-53787-inline-assembler-macro.stderr Fix error template 2019-01-16 23:08:42 +00:00
issue-54943-1.rs
issue-54943-2.rs
issue-54943-3.rs
issue-54943.rs Handle lifetime annotations in unreachable code 2019-01-19 16:30:45 +00:00
issue-54943.stderr Handle lifetime annotations in unreachable code 2019-01-19 16:30:45 +00:00
issue-55511.nll.stderr
issue-55511.rs
issue-55511.stderr
issue-55846.rs
lang-item-missing.rs
lang-item-missing.stderr
lexical-scopes.rs
lexical-scopes.stderr
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
lifetime-before-type-params.rs Fix suggestions given mulitple bad lifetimes 2019-01-18 01:10:14 +00:00
lifetime-before-type-params.stderr Update tests 2019-02-07 15:02:17 +01:00
linkage2.rs
linkage2.stderr
linkage3.rs
linkage3.stderr
linkage4.rs
linkage4.stderr
loud_ui.rs
lto-duplicate-symbols.rs
lto-duplicate-symbols.stderr
lub-if.rs
lub-if.stderr
lub-match.rs
lub-match.stderr
main-wrong-location.rs
main-wrong-location.stderr
main-wrong-type.rs
main-wrong-type.stderr
malformed_macro_lhs.rs
malformed_macro_lhs.stderr
map-types.rs
map-types.stderr
match-on-negative-integer-ranges.rs Fix bug in integer range matching 2019-02-01 20:02:21 +00:00
maybe-bounds-where-cpass.rs
maybe-bounds-where.rs
maybe-bounds-where.stderr
maybe-bounds.rs
maybe-bounds.stderr
meta-expected-error-correct-rev.a.stderr
meta-expected-error-correct-rev.rs
minus-string.rs
minus-string.stderr
mir_check_nonconst.rs
mir_check_nonconst.stderr
mir-unpretty.rs
mir-unpretty.stderr
missing_debug_impls.rs
missing_debug_impls.stderr
mod-subitem-as-enum-variant.rs
mod-subitem-as-enum-variant.stderr
module-macro_use-arguments.rs
module-macro_use-arguments.stderr
multiple-main-2.rs
multiple-main-2.stderr
multiple-main-3.rs
multiple-main-3.stderr
multiple-plugin-registrars.rs
multiple-plugin-registrars.stderr
mutexguard-sync.rs
mutexguard-sync.stderr
nested_impl_trait.rs
nested_impl_trait.stderr
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-ty-params.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
nested-ty-params.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
never_transmute_never.rs
never-assign-dead-code.rs
never-assign-dead-code.stderr Unused variable suggestions on all patterns. 2019-01-28 10:46:31 +01:00
never-assign-wrong-type.rs
never-assign-wrong-type.stderr
no_crate_type.rs
no_crate_type.stderr
no_owned_box_lang_item.rs
no_owned_box_lang_item.stderr
no_send-enum.rs
no_send-enum.stderr
no_send-rc.rs
no_send-rc.stderr
no_send-struct.rs
no_send-struct.stderr
no_share-enum.rs
no_share-enum.stderr
no_share-struct.rs
no_share-struct.stderr
no-args-non-move-async-closure.rs
no-args-non-move-async-closure.stderr
no-capture-arc.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
no-capture-arc.rs
no-capture-arc.stderr
no-implicit-prelude-nested.rs
no-implicit-prelude-nested.stderr
no-implicit-prelude.rs
no-implicit-prelude.stderr
no-link-unknown-crate.rs
no-link-unknown-crate.stderr
no-link.rs
no-link.stderr
no-patterns-in-args-2.rs
no-patterns-in-args-2.stderr
no-patterns-in-args-macro.rs
no-patterns-in-args-macro.stderr
no-patterns-in-args.rs
no-patterns-in-args.stderr
no-reuse-move-arc.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
no-reuse-move-arc.rs
no-reuse-move-arc.stderr
no-send-res-ports.rs
no-send-res-ports.stderr
no-std-inject.rs
no-std-inject.stderr
no-type-for-node-ice.rs
no-type-for-node-ice.stderr
no-warn-on-field-replace-issue-34101.rs
noexporttypeexe.rs
noexporttypeexe.stderr
non-constant-expr-for-arr-len.rs
non-constant-expr-for-arr-len.stderr
non-constant-in-const-path.rs
non-constant-in-const-path.stderr
non-copyable-void.rs
non-copyable-void.stderr
non-interger-atomic.rs
non-interger-atomic.stderr
noncopyable-class.rs
noncopyable-class.stderr
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr
not-copy-closure.nll.stderr
not-copy-closure.rs
not-copy-closure.stderr
not-enough-arguments.rs
not-enough-arguments.stderr
not-sync.rs
not-sync.stderr
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr
object-pointer-types.rs
object-pointer-types.stderr
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr
occurs-check-2.rs
occurs-check-2.stderr
occurs-check-3.rs
occurs-check-3.stderr
occurs-check.rs
occurs-check.stderr
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
once-cant-call-twice-on-heap.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-heap.stderr
opt-in-copy.rs
opt-in-copy.stderr
or-pattern-mismatch.rs
or-pattern-mismatch.stderr
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr
osx-frameworks.rs
osx-frameworks.stderr
out-of-order-shadowing.rs
out-of-order-shadowing.stderr
output-type-mismatch.rs
output-type-mismatch.stderr
overlap-marker-trait.rs
overlap-marker-trait.stderr
overloaded-calls-nontuple.rs
overloaded-calls-nontuple.stderr
panic_implementation-closures.rs
paren-span.rs
paren-span.stderr
parenthesized-deref-suggestion.rs Corrected spelling inconsistency 2019-01-22 09:08:52 +01:00
parenthesized-deref-suggestion.stderr Corrected spelling inconsistency 2019-01-22 09:08:52 +01:00
parse-error-correct.rs
parse-error-correct.stderr
parser-recovery-1.rs
parser-recovery-1.stderr
parser-recovery-2.rs
parser-recovery-2.stderr Deduplicate mismatched delimiter errors 2019-02-07 01:41:30 -08:00
partialeq_help.rs
partialeq_help.stderr
path-lookahead.rs
path-lookahead.stderr
phantom-oibit.rs
phantom-oibit.stderr
placement-syntax.rs
placement-syntax.stderr
point-to-type-err-cause-on-impl-trait-return-2.rs Do not give incorrect label for return type mismatch 2019-01-17 22:33:20 -08:00
point-to-type-err-cause-on-impl-trait-return-2.stderr Do not give incorrect label for return type mismatch 2019-01-17 22:33:20 -08:00
point-to-type-err-cause-on-impl-trait-return.rs Fix test after rebase 2019-01-17 22:51:01 -08:00
point-to-type-err-cause-on-impl-trait-return.stderr Explain type mismatch cause pointing to return type when it is impl Trait 2019-01-20 18:42:10 -08:00
pptypedef.rs
pptypedef.stderr
precise_pointer_size_matching.rs
precise_pointer_size_matching.stderr
prim-with-args.rs
prim-with-args.stderr
priv-in-bad-locations.rs
priv-in-bad-locations.stderr
ptr-coercion.rs
ptr-coercion.stderr
question-mark-type-infer.rs
question-mark-type-infer.stderr
reassign-ref-mut.rs
reassign-ref-mut.stderr
ref-suggestion.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
ref-suggestion.rs
ref-suggestion.stderr
refutable-pattern-errors.rs
refutable-pattern-errors.stderr
refutable-pattern-in-fn-arg.rs
refutable-pattern-in-fn-arg.stderr
regions-fn-subtyping-return-static-fail.rs
regions-fn-subtyping-return-static-fail.stderr
reject-specialized-drops-8142.rs
reject-specialized-drops-8142.stderr
removing-extern-crate.fixed
removing-extern-crate.rs
removing-extern-crate.stderr
repeat_count.rs
repeat_count.stderr
repeat-to-run-dtor-twice.rs
repeat-to-run-dtor-twice.stderr
repr.rs
repr.stderr
required-lang-item.rs
required-lang-item.stderr
resolve_self_super_hint.rs
resolve_self_super_hint.stderr
ret-non-nil.rs
ret-non-nil.stderr
retslot-cast.rs
retslot-cast.stderr
rfc1623.rs
rfc1623.stderr
rmeta_lib.rs
rmeta_lib.stderr
rmeta_meta_main.rs
rmeta_meta_main.stderr
rmeta-lib-pass.rs
rmeta-pass.rs
rmeta-priv-warn.rs
rmeta.rs
rmeta.stderr
rust-unstable-column-gated.rs
rust-unstable-column-gated.stderr
rustc-args-required-const2.rs
rustc-args-required-const2.stderr
rustc-args-required-const.rs
rustc-args-required-const.stderr
rustc-error.rs
rustc-error.stderr
safe-extern-statics-mut.rs
safe-extern-statics-mut.stderr
safe-extern-statics.rs
safe-extern-statics.stderr
seq-args.rs
seq-args.stderr
shift-various-bad-types.rs
shift-various-bad-types.stderr
short-error-format.rs
short-error-format.stderr
simd-type-generic-monomorphisation.rs
simd-type-generic-monomorphisation.stderr
simd-type.rs
simd-type.stderr
similar-tokens.rs
similar-tokens.stderr
single-primitive-inherent-impl.rs
single-primitive-inherent-impl.stderr
sized-cycle-note.rs
sized-cycle-note.stderr
slice-2.rs
slice-2.stderr
slice-mut-2.nll.stderr
slice-mut-2.rs
slice-mut-2.stderr
slice-mut.rs
slice-mut.stderr
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr
stability-in-private-module.rs Add test 2019-02-04 19:26:46 +09:00
stability-in-private-module.stderr Add test 2019-02-04 19:26:46 +09:00
stable-features.rs
stable-features.stderr
static_sized_requirement.rs
staticness-mismatch.rs
staticness-mismatch.stderr
std-uncopyable-atomics.nll.stderr
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr
substs-ppaux.normal.stderr
substs-ppaux.rs
substs-ppaux.verbose.stderr
suffixed-literal-meta.rs
suffixed-literal-meta.stderr
super-at-top-level.rs
super-at-top-level.stderr
suppressed-error.rs
suppressed-error.stderr
switched-expectations.rs
switched-expectations.stderr
syntax-extension-minor.rs
syntax-extension-minor.stderr
syntax-trait-polarity-feature-gate.rs
syntax-trait-polarity-feature-gate.stderr
syntax-trait-polarity.rs
syntax-trait-polarity.stderr
synthetic-param.rs
synthetic-param.stderr
tag-that-dare-not-speak-its-name.rs
tag-that-dare-not-speak-its-name.stderr
tag-type-args.rs
tag-type-args.stderr
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr
tag-variant-disr-dup.rs
tag-variant-disr-dup.stderr
tail-typeck.rs
tail-typeck.stderr Point at return type when appropriate 2019-01-18 00:12:09 -08:00
target-feature-gate.rs Add MOVBE feature 2019-01-30 21:07:48 +05:30
target-feature-gate.stderr Add MOVBE feature 2019-01-30 21:07:48 +05:30
target-feature-wrong.rs
target-feature-wrong.stderr
terr-in-field.rs
terr-in-field.stderr
terr-sorts.rs
terr-sorts.stderr
test-attr-non-associated-functions.rs
test-attr-non-associated-functions.stderr
test-cfg.rs
test-cfg.stderr
test-on-macro.rs
test-on-macro.stderr
test-should-panic-attr.rs
test-should-panic-attr.stderr
test-warns-dead-code.rs
test-warns-dead-code.stderr
thread-local-in-ctfe.nll.stderr
thread-local-in-ctfe.rs
thread-local-in-ctfe.stderr
thread-local-mutation.nll.stderr Add a regression test for mutating a non-mut #[thread_local] 2019-01-14 08:02:33 -08:00
thread-local-mutation.rs Add a regression test for mutating a non-mut #[thread_local] 2019-01-14 08:02:33 -08:00
thread-local-mutation.stderr Add a regression test for mutating a non-mut #[thread_local] 2019-01-14 08:02:33 -08:00
tool_lints-fail.rs
tool_lints-fail.stderr
tool_lints.rs
tool_lints.stderr
trace_macros-format.rs
trace_macros-format.stderr
trace_macros-gate.rs
trace_macros-gate.stderr
trait-method-number-parameters.rs
trait-method-number-parameters.stderr
transmute-equal-assoc-types.rs
transmute-equal-assoc-types.stderr
trivial_casts.rs
trivial_casts.stderr
try-on-option.rs
try-on-option.stderr
try-operator-on-main.rs
try-operator-on-main.stderr
try-poll.rs
tutorial-suffix-inference-test.rs
tutorial-suffix-inference-test.stderr
type_length_limit.rs
type_length_limit.stderr
type-alias-enum-variants-panic.rs
type-alias-enum-variants-panic.stderr
type-alias-enum-variants-priority-2.rs Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants-priority-2.stderr Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants-priority-3.rs Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants-priority-3.stderr Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants-priority.rs Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants-priority.stderr Prioritize variants as inherent associated items during name resolution 2019-01-16 23:51:41 +03:00
type-alias-enum-variants.rs
type-alias-enum-variants.stderr
ui-testing-optout.rs
ui-testing-optout.stderr
unconstrained-none.rs
unconstrained-none.stderr
unconstrained-ref.rs
unconstrained-ref.stderr
underscore_const_names.rs
underscore-ident-matcher.rs
underscore-ident-matcher.stderr
unevaluated_fixed_size_array_len.rs
unevaluated_fixed_size_array_len.stderr
unique-object-noncopyable.rs
unique-object-noncopyable.stderr
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs
unknown-lint-tool-name.stderr
unknown-tool-name.rs
unknown-tool-name.stderr
unnecessary-extern-crate.rs
unnecessary-extern-crate.stderr
unop-move-semantics.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
unop-move-semantics.rs
unop-move-semantics.stderr
unop-neg-bool.rs
unop-neg-bool.stderr
unrestricted-attribute-tokens.rs
unsized3.rs
unsized3.stderr
unsized5.rs
unsized5.stderr
unsized6.rs
unsized6.stderr
unsized7.rs
unsized7.stderr
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr
unsupported-cast.rs
unsupported-cast.stderr
use-self-in-inner-fn.rs Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
use-self-in-inner-fn.stderr Make name resolution handle consts in GenericParamsFromOuterFunction properly 2019-02-07 15:03:20 +01:00
used.rs
used.stderr
useless_comment.rs
useless_comment.stderr
useless-pub.rs
useless-pub.stderr
user-defined-macro-rules.rs
user-defined-macro-rules.stderr
utf8_idents.rs
utf8_idents.stderr
vector-cast-weirdness.rs
vector-cast-weirdness.stderr
vector-no-ann.rs
vector-no-ann.stderr
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
walk-struct-literal-with.nll.stderr Fix --compare-mode=nll tests 2019-01-24 10:53:43 -08:00
walk-struct-literal-with.rs
walk-struct-literal-with.stderr
warn-path-statement.rs
warn-path-statement.stderr
wasm-custom-section-relocations.rs
wasm-custom-section-relocations.stderr
wasm-import-module.rs
wasm-import-module.stderr
while-let.rs
while-let.stderr
while-type-error.rs
while-type-error.stderr
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
write-to-static-mut-in-static.rs
write-to-static-mut-in-static.stderr
writing-to-immutable-vec.nll.stderr
writing-to-immutable-vec.rs
writing-to-immutable-vec.stderr
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr
wrong-ret-type.rs
wrong-ret-type.stderr Point at return type when appropriate 2019-01-18 00:12:09 -08:00
xc-private-method2.rs
xc-private-method2.stderr
xc-private-method.rs
xc-private-method.stderr