rust/src/test/ui
bors e628196d41 Auto merge of #57291 - euclio:method-call-suggestion, r=estebank
use structured suggestion for method calls

Furthermore, don't suggest calling the method if it is part of a place
expression, as this is invalid syntax.

I'm thinking it might be worth putting a label on the method assignment span like "this is a method" and removing the span from the "methods are immutable" text so it isn't reported twice.

The suggestions in `src/test/ui/did_you_mean/issue-40396.stderr` are suboptimal. I could check if the containing expression is `BinOp`, but I'm not sure if that's general enough. Any ideas?

r? @estebank
2019-01-06 10:30:05 +00:00
..
alloc-error
allocator
asm make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
associated-const
associated-item
associated-type
associated-types Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
attrs-with-no-formal-in-generics
auxiliary
await-keyword
bad Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
bind-by-move
binop Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
blind Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
block-result
borrowck
builtin-superkinds
cast
chalkify Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
check_match
closure_context
closure-expected-type improve handling for subtype 2019-01-02 17:35:06 -05:00
closures
codemap_tests
coercion Auto merge of #57230 - estebank:return-mismatch, r=varkor 2019-01-05 22:25:47 +00:00
coherence Update tests changed by rebase 2019-01-04 10:19:22 +01:00
compare-method
conditional-compilation
confuse-field-and-method
consts Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
cross
custom_test_frameworks
custom-derive
cycle-trait
dep-graph
deprecation
derived-errors
derives
did_you_mean Auto merge of #57291 - euclio:method-call-suggestion, r=estebank 2019-01-06 10:30:05 +00:00
directory_ownership
disallowed-deconstructing
discrim
dollar-crate
dropck
dst Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
duplicate
e0119
editions Address review comments 2018-12-31 08:24:00 -08:00
empty
enum
error-codes Auto merge of #57291 - euclio:method-call-suggestion, r=estebank 2019-01-06 10:30:05 +00:00
exclusive-range
existential_types
explicit
extenv
extern Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
feature-gate
feature-gates Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
fmt Use structured suggestion for braceless unicode escape squence 2018-12-31 09:44:58 -08:00
fn
for
fully-qualified-type Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
functional-struct-update
generator Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
generic Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
hello_world
hr-subtype improve handling for subtype 2019-01-02 17:35:06 -05:00
hrtb address tmandry nits 2019-01-02 17:35:06 -05:00
hygiene
if Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
impl-header-lifetime-elision
impl-trait Forbid impl Trait from referring to unnamable recursive types 2019-01-03 22:15:02 +00:00
imports Auto merge of #57199 - petrochenkov:ambig, r=estebank 2019-01-01 02:08:39 +00:00
in-band-lifetimes
include-macros
inference
infinite
interior-mutability
internal
invalid
invalid-module-declaration
invalid-self-argument
issues Auto merge of #57291 - euclio:method-call-suggestion, r=estebank 2019-01-06 10:30:05 +00:00
iterators
keyword Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
kindck
label
lifetimes
lint
liveness Auto merge of #57230 - estebank:return-mismatch, r=varkor 2019-01-05 22:25:47 +00:00
loops Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
lub-glb improve handling for subtype 2019-01-02 17:35:06 -05:00
macro_backtrace
macros make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
malformed
manual
marker_trait_attr
match Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
methods Auto merge of #57291 - euclio:method-call-suggestion, r=estebank 2019-01-06 10:30:05 +00:00
mir-dataflow
mismatched_types Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
missing
missing_non_modrs_mod
mod
moves
mut
namespace
nll Rollup merge of #57249 - frewsxcv:frewsxcv-second-edition, r=KodrAus 2019-01-05 23:56:48 +08:00
non_modrs_mods_and_inline_mods
non-exhaustive
not-panic
numeric
object-lifetime
object-safety
obsolete-in-place
on-unimplemented
packed-struct
panic-handler
panic-runtime
parser Auto merge of #57209 - estebank:suggest-raw-ident, r=petrochenkov 2019-01-01 23:30:34 +00:00
pattern
print_type_sizes
print-fuel
privacy Address review comments 2019-01-01 01:39:55 +03:00
proc-macro Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
pub
qualified
range Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
reachable
recursion
regions improve handling for subtype 2019-01-02 17:35:06 -05:00
repr
reserved
resolve Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
return
rfc1445
rfc1598-generic-associated-types
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-2126-extern-in-paths
rfc-2166-underscore-imports
rfc-2306
rfc-2361-dbg-macro
rfc-2497-if-let-chains
run-pass/traits
rust-2018 Address review comments 2018-12-31 08:24:00 -08:00
self
shadowed
simd-intrinsic
single-use-lifetime
span
specialization
stability-attribute
static
str Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
structs Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor 2019-01-02 11:59:15 +00:00
suggestions Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
svh
symbol-names
test-shadowing
tool-attributes
traits Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
transmute
trivial-bounds Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
try-block Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor 2019-01-02 11:59:15 +00:00
tuple Auto merge of #57047 - euclio:field-structured-suggestions, r=estebank 2018-12-31 20:56:19 +00:00
type Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
typeck
ufcs
unboxed-closures
underscore-lifetime
uninhabited
union Auto merge of #57291 - euclio:method-call-suggestion, r=estebank 2019-01-06 10:30:05 +00:00
unreachable
unresolved
unsafe
unsized Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unsized-locals Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unused
use
variadic
variance
variants
vec
wf Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
where-clauses say "the lifetime" instead of "some lifetime" when it feels right 2019-01-02 17:35:06 -05: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 use structured suggestion for method calls 2019-01-03 13:42:52 -05:00
assign-to-method.stderr use structured suggestion for method calls 2019-01-03 13:42:52 -05:00
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
attr-usage-repr.stderr
augmented-assignments.nll.stderr
augmented-assignments.rs
augmented-assignments.stderr
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr
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 Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
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
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
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 syntax: Fix regression in diagnostics for patterns in trait method parameters 2019-01-01 23:59:32 +03:00
E0642.stderr syntax: Fix regression in diagnostics for patterns in trait method parameters 2019-01-01 23:59:32 +03:00
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
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-gated-feature-in-macro-arg.rs
feature-gated-feature-in-macro-arg.stderr
float-literal-inference-restrictions.rs
float-literal-inference-restrictions.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
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
huge-enum.stderr
huge-struct.rs
huge-struct.stderr
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 use structured suggestion for method calls 2019-01-03 13:42:52 -05:00
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
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr
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
inner-static-type-parameter.stderr
integer-literal-suffix-inference.rs
integer-literal-suffix-inference.stderr
integral-indexing.rs
integral-indexing.stderr
integral-variable-unification-error.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
integral-variable-unification-error.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
intrinsic-invalid-number-of-arguments.rs
intrinsic-invalid-number-of-arguments.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-54943-1.rs
issue-54943-2.rs
issue-54943-3.rs
issue-54943.rs
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 Address review comments 2018-12-31 08:24:00 -08: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
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 Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
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
nested-ty-params.stderr
never_transmute_never.rs
never-assign-dead-code.rs
never-assign-dead-code.stderr
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
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
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.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
parenthesised-deref-suggestion.rs
parenthesised-deref-suggestion.stderr
parse-error-correct.rs
parse-error-correct.stderr
parser-recovery-1.rs
parser-recovery-1.stderr
parser-recovery-2.rs
parser-recovery-2.stderr
partialeq_help.rs
partialeq_help.stderr
path-lookahead.rs
path-lookahead.stderr
phantom-oibit.rs
phantom-oibit.stderr
placement-syntax.rs
placement-syntax.stderr
platform-intrinsic-params.rs
platform-intrinsic-params.stderr
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
quote-with-interpolated.rs
quote-with-interpolated.stderr
reassign-ref-mut.rs
reassign-ref-mut.stderr
ref-suggestion.nll.stderr
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 tests: cases where we now do the right thing but did not before 2019-01-02 17:35:05 -05:00
regions-fn-subtyping-return-static-fail.stderr improve handling for subtype 2019-01-02 17:35:06 -05:00
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 Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
repeat_count.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
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 use structured suggestions for nonexistent fields 2018-12-31 12:52:30 -05:00
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
should-fail-no_gate_irrefutable_if_let_pattern.rs
should-fail-no_gate_irrefutable_if_let_pattern.stderr
should-fail-with_gate_irrefutable_pattern_deny.rs
should-fail-with_gate_irrefutable_pattern_deny.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 Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
slightly-nice-generic-literal-messages.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05: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 Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
substs-ppaux.rs
substs-ppaux.verbose.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
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
target-feature-gate.rs
target-feature-gate.stderr
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
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.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
unop-move-semantics.rs
unop-move-semantics.stderr
unop-neg-bool.rs
unop-neg-bool.stderr
unrestricted-attribute-tokens.rs
unsized3.rs
unsized3.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unsized5.rs
unsized5.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unsized6.rs
unsized6.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unsized7.rs
unsized7.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr
unsupported-cast.rs
unsupported-cast.stderr
use-self-in-inner-fn.rs
use-self-in-inner-fn.stderr
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
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
xc-private-method2.rs
xc-private-method2.stderr
xc-private-method.rs
xc-private-method.stderr