rust/src/test/ui
Ralf Jung 5193c5d608
Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis
Display information about captured variable in `FnMut` error

Fixes #69446

When we encounter a region error involving an `FnMut` closure, we
display a specialized error message. However, we currently do not
tell the user which upvar was captured. This makes it difficult to
determine the cause of the error, especially when the closure is large.

This commit records marks constraints involving closure upvars
with `ConstraintCategory::ClosureUpvar`. When we decide to 'blame'
a `ConstraintCategory::Return`, we additionall store
the captured upvar if we found a `ConstraintCategory::ClosureUpvar` in
the path.

When generating an error message, we point to relevant spans if we have
closure upvar information available. We further customize the message if
an `async` closure is being returned, to make it clear that the captured
variable is being returned indirectly.
2020-06-15 09:57:28 +02:00
..
abi Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
alloc-error
allocator Make fields in MemoryBlock public 2020-03-28 20:22:07 +01:00
annotate-snippet Add UI test where annotated_files count is > 1 #64205 2020-05-10 01:25:30 +02:00
anon-params Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
array-slice-vec Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkov 2020-05-16 19:46:29 +02:00
asm Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk 2020-06-12 00:05:19 +02:00
associated-const Point at associated types when they have a default type 2020-05-02 18:24:07 -07:00
associated-consts Add descriptions for all queries 2020-05-31 20:15:32 +01:00
associated-item "cannot resolve" → "cannot satisfy" 2020-04-05 10:14:04 -07:00
associated-type Remove AssocTypeBound and propagate bound Spans 2020-04-18 16:37:08 -07:00
associated-type-bounds Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkov 2020-05-16 19:46:29 +02:00
associated-types Rollup merge of #72807 - xiaotianrandom:fix-assoc-type-diagnostics, r=estebank 2020-05-31 21:30:01 +02:00
ast-json Only capture tokens for items with outer attributes 2020-05-25 23:44:40 -04:00
async-await Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis 2020-06-15 09:57:28 +02:00
attributes Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
autoref-autoderef
auxiliary Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
bad rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
bench
binding adjust tests 2020-05-09 14:40:17 +02:00
binop Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
blind When encountering an Item in a pat context, point at the item def 2020-03-06 15:29:26 -08:00
block-result update_tests 2020-04-24 00:22:50 +02:00
borrowck Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis 2020-06-15 09:57:28 +02:00
builtin-superkinds Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
c-variadic test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
cast --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
cfg test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
chalkify Reintegrate chalk using chalk-solve 2020-05-07 17:35:58 -04:00
closure-expected-type Add label to item source of bound obligation 2020-04-18 17:19:53 -07:00
closure_context Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
closures liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
codemap_tests Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikomatsakis 2020-06-15 09:57:22 +02:00
coerce update tests 2020-03-31 19:01:49 +02:00
coercion Relate existential associated types with variance Invariant 2020-06-09 13:21:27 -03:00
coherence fix error code for E0751 2020-04-23 15:46:05 +08:00
command Stabilize process_set_argv0 feature for Unix 2020-05-12 09:34:23 -07:00
compare-method Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
conditional-compilation rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
confuse-field-and-method Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
const-generics fixup! Add regression test for const generic ICE in #72819 2020-06-08 18:04:41 -07:00
consts Rollup merge of #72389 - Aaron1011:feature/move-fn-self-msg, r=nikomatsakis 2020-06-15 09:57:22 +02:00
cross rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
cross-crate
custom_test_frameworks rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
cycle-trait Add descriptions for all queries 2020-05-31 20:15:32 +01:00
definition-reachable fix various typos 2020-03-06 15:19:31 +01:00
dep-graph Move the krate method to Hir and remove the Krate dep node 2020-02-06 13:23:32 +01:00
deprecation Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
derived-errors Remove noisy suggestion of hash_map #72642 2020-06-09 08:49:05 +05:30
derives Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
deriving SipHasher::new() is literally with SipHasher with both keys being 0 2020-05-01 23:26:52 -04:00
destructuring-assignment Do not emit note suggesting to implement trait to foreign type 2020-02-17 15:21:36 +01:00
did_you_mean standardize limit comparisons with Limit type 2020-05-28 10:33:07 +01:00
directory_ownership tweak outline module parsing spans 2020-03-18 15:08:25 +01:00
disallowed-deconstructing
discrim refactor check_for_cast 2020-05-20 16:08:09 +02:00
dollar-crate rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
drop test(bindings_after_at): add dynamic drop tests for bindings_after_at 2020-03-07 14:18:22 -06:00
dropck standardize limit comparisons with Limit type 2020-05-28 10:33:07 +01:00
dst Do not emit note for projected derived obligations 2020-04-18 16:37:08 -07:00
duplicate Fail on multiple declarations of main. 2020-02-23 02:06:11 +10:00
dyn-keyword Normalise notes with the/is 2020-01-24 16:24:50 +00:00
dynamically-sized-types
editions Detect errors caused by async block in 2015 edition 2020-05-05 19:35:20 -07:00
empty non-exhastive diagnostic: add note re. scrutinee type 2020-03-27 06:49:07 +01:00
enum Add some tests for #67945 2020-05-07 02:22:08 +09:00
enum-discriminant Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
error-codes Improve E0433, so that it suggests missing imports 2020-06-02 20:41:25 +02:00
explicit Simplify suggestion 2020-05-26 23:06:46 +03:00
extenv expand env! with def-site context 2020-05-26 21:49:55 -04:00
extern test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
extern-flag Normalise notes with the/is 2020-01-24 16:24:50 +00:00
feature-gate rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
feature-gates [AVR] Re-bless the UI tests 2020-06-09 17:35:50 +12:00
fmt Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
fn Skip tests on emscripten 2020-05-08 00:39:02 +09:00
for Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
for-loop-while Remove mem::uninitalized from tests 2019-12-22 21:58:12 -05:00
foreign
fully-qualified-type Remove ignored type alias test 2020-04-30 10:23:45 -04:00
functional-struct-update Increase verbosity when using update syntax 2020-03-23 20:15:45 +01:00
functions-closures update tests 2020-03-31 19:01:49 +02:00
generator Revert #71956 2020-06-08 14:58:37 -07:00
generic Report all errors in check_generic_arg_count 2020-02-22 00:27:44 +00:00
generic-associated-types Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
generics fix test 2020-04-22 12:42:02 -07:00
half-open-range-patterns Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
hashmap Skip tests on emscripten 2020-05-08 00:39:02 +09:00
hello_world
higher-rank-trait-bounds
hr-subtype rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
hrtb Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
hygiene Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
if Skip tests on emscripten 2020-05-08 00:39:02 +09:00
if-attrs adjust tests 2020-05-09 14:40:17 +02:00
impl-header-lifetime-elision Fix spacing of expected/found notes without a label 2020-05-27 16:27:15 -07:00
impl-trait Rollup merge of #73005 - Aaron1011:fix/error-overflow, r=estebank 2020-06-10 11:03:43 +02:00
imports Skip tests on emscripten 2020-05-08 00:39:02 +09:00
in-band-lifetimes review comments: change wording and visual output 2020-05-27 20:58:05 -07:00
include-macros rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
inference adjust tests 2020-05-09 14:40:17 +02:00
infinite Add descriptions for all queries 2020-05-31 20:15:32 +01:00
interior-mutability tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
internal --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
intrinsics Add test for issue-28575 2020-04-17 06:16:14 +09:00
invalid rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
invalid-module-declaration tweak outline module parsing spans 2020-03-18 15:08:25 +01:00
invalid-self-argument parser: address review comments re. self. 2020-02-02 13:32:37 +01:00
issues Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis 2020-06-15 09:57:28 +02:00
iterators Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
keyword parse: recover on const fn() / async fn(). 2020-03-26 09:44:11 +01:00
kindck Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
label Allow unlabeled breaks from desugared ? in labeled blocks 2020-05-26 01:18:07 +05:30
layout rustc_target::abi: add Primitive variant to FieldsShape. 2020-04-16 15:15:51 +00:00
lifetimes Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
linkage-attr A test now fails during check instead of build 2020-04-30 17:27:33 +02:00
lint Rollup merge of #73178 - petrochenkov:explint, r=varkor 2020-06-12 12:28:25 +02:00
liveness liveness: Warn about unused captured variables 2020-05-29 17:46:38 +02:00
llvm-asm test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
loops Skip tests on emscripten 2020-05-08 00:39:02 +09:00
lub-glb Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
macro_backtrace --bless some tests 2020-03-10 07:26:27 +01:00
macros expand env! with def-site context 2020-05-26 21:49:55 -04:00
malformed Do not emit note for projected derived obligations 2020-04-18 16:37:08 -07:00
manual
marker_trait_attr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
match normalize adt fields during structural match check 2020-06-02 00:23:47 +02:00
methods Rename AssocKind::Method to AssocKind::Fn 2020-04-14 07:12:07 +08:00
mir Add test for #66930 2020-05-28 16:50:10 +09:00
mir-dataflow Add rustc_peek test for liveness with borrows 2020-05-03 11:36:11 -07:00
mismatched_types Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
missing Fixed issue with self: &Box<Self> 2020-04-16 14:05:57 +02:00
missing_non_modrs_mod tweak outline module parsing spans 2020-03-18 15:08:25 +01:00
mod Resolve E0584 conflict 2020-06-08 12:00:12 +01:00
modules
moves Use fn_span to point to the actual method call 2020-06-11 18:10:13 -04:00
mut Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
namespace reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
never_type Skip tests on emscripten 2020-05-08 00:39:02 +09:00
nll Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis 2020-06-15 09:57:28 +02:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
numbers-arithmetic Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
numeric fixup! Provide suggestion to convert numeric op LHS rather than unwrapping RHS 2020-06-11 09:04:27 -07:00
object-lifetime Tweak wording and spans of 'static dyn Trait/impl Trait requirements 2020-05-30 10:22:27 -07:00
object-safety Change wording for object unsafe because of assoc const 2020-02-03 10:54:16 -08:00
obsolete-in-place
on-unimplemented Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
or-patterns Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
overloaded
packed Add more tests for raw_ref_op 2019-12-18 20:30:00 +00:00
packed-struct
panic-handler Normalise notes with the/is 2020-01-24 16:24:50 +00:00
panic-runtime Skip tests on emscripten 2020-05-08 00:39:02 +09:00
panics Skip tests on emscripten 2020-05-08 00:39:02 +09:00
parser Auto merge of #69478 - avr-rust:avr-support-upstream, r=jonas-schievink 2020-06-12 01:28:37 +00:00
pattern Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
print-fuel
print_type_sizes rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
privacy reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
proc-macro Rollup merge of #73012 - Aaron1011:feature/span-debug-ctxt, r=matthewjasper 2020-06-11 19:04:09 +02:00
process Skip tests on emscripten 2020-05-08 00:39:02 +09:00
process-termination Fix bind address in process-termination-blocking-io test 2020-05-06 23:41:38 -07:00
pub parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
qualified rustc_typeck: remove rustc_hir_pretty usage 2020-03-24 08:38:32 +01:00
range rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
raw-ref-op --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
reachable rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
recursion Add descriptions for all queries 2020-05-31 20:15:32 +01:00
recursion_limit Bumped version number for const_eval_limit in active.rs 2020-03-05 08:10:39 +01:00
regions Rollup merge of #72598 - Aaron1011:feature/fnmut-capture-span, r=nikomatsakis 2020-06-15 09:57:28 +02:00
repr Add long error explanation for E0693 #61137 2020-03-14 08:41:05 +05:30
reserved resolve: Remove rustc_attrs as a standalone feature gate 2020-03-24 21:37:29 +03:00
resolve Remove noisy suggestion of hash_map #72642 2020-06-09 08:49:05 +05:30
return --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
rfc-0107-bind-by-move-pattern-guards
rfc-1937-termination-trait Skip tests on emscripten 2020-05-08 00:39:02 +09:00
rfc-2005-default-binding-mode non-exhastive diagnostic: add note re. scrutinee type 2020-03-27 06:49:07 +01:00
rfc-2008-non-exhaustive non-exhastive diagnostic: add note re. scrutinee type 2020-03-27 06:49:07 +01:00
rfc-2027-object-safe-for-dispatch Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
rfc-2091-track-caller Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00
rfc-2093-infer-outlives Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths
rfc-2306
rfc-2361-dbg-macro rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
rfc-2457 Disallow forbidden usage of non-ascii identifiers. 2020-05-17 01:31:18 +08:00
rfc-2497-if-let-chains adjust tests 2020-05-09 14:40:17 +02:00
rfc-2565-param-attrs Reword unused variable warning 2020-03-23 12:14:45 +03:00
rfc-2627-raw-dylib adjust tests 2020-05-09 14:40:17 +02:00
rfc-2632-const-trait-impl Add regression test for #69615 2020-04-09 14:56:28 -07:00
rfc1445 rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
rfc1717
rfcs Add new tests and bless old tests 2020-05-01 17:32:06 +02:00
rust-2018 reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
sanitize Consistently use LLVM lifetime markers during codegen 2020-05-14 15:23:24 +02:00
save-analysis save_analysis: fix panic in write_sub_paths_truncated 2020-06-06 23:40:24 +01:00
self Tweak wording and spans of 'static dyn Trait/impl Trait requirements 2020-05-30 10:22:27 -07:00
sepcomp
shadowed Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
simd Migrate to numeric associated consts 2020-06-10 01:35:47 +00:00
simd-intrinsic Revert "Rollup merge of #69280 - ecstatic-morse:promote-shuffle-no-special-case, r=petrochenkov" 2020-02-20 16:00:39 -08:00
single-use-lifetime Normalise notes with the/is 2020-01-24 16:24:50 +00:00
span resolve: Sort E0408 errors by Symbol str 2020-06-04 16:00:31 +01:00
specialization Point at associated types when they have a default type 2020-05-02 18:24:07 -07:00
stability-attribute Add long error explanation for E0539 2020-05-02 21:14:08 +03:00
static Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02:00
statics
str Skip tests on emscripten 2020-05-08 00:39:02 +09:00
structs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
structs-enums Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
suggestions Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
svh
symbol-names Order the Rust and C ABIs first to reduce test churn 2020-06-06 22:36:21 -04:00
target-feature test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
terminal-width Update tests 2019-12-12 20:56:14 +01:00
test-attrs Move tests from test/run-fail to UI 2020-05-06 14:02:55 +09:00
thinlto
threads-sendsync Move tests from test/run-fail to UI 2020-05-06 14:02:55 +09:00
tool-attributes Make rustc_attrs tracking issue None 2020-03-01 00:48:14 +09:00
traits Rollup merge of #72556 - matthew-mcallister:trait-alias-inherent-impl, r=estebank 2020-06-15 09:57:24 +02:00
transmute Update tests for erasing regions in typeck 2020-03-17 09:07:56 +00:00
trivial-bounds rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
try-block allow try as scrutinee, e.g. match try ... 2020-04-14 18:39:20 +02:00
tuple rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
type Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
type-alias Suggest defining type parameter when appropriate 2020-01-26 10:57:18 -08:00
type-alias-enum-variants On type mismatch involving associated type, suggest constraint 2020-05-02 18:23:46 -07:00
type-alias-impl-trait Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
type-inference Increase verbosity when suggesting subtle code changes 2020-03-22 10:36:45 -07:00
typeck Increase verbosity of bound restriction suggestions 2020-05-12 11:19:07 -07:00
ufcs Bless tests 2020-03-21 15:03:58 +01:00
unboxed-closures Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
underscore-imports Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
underscore-lifetime Tweak wording and spans of 'static dyn Trait/impl Trait requirements 2020-05-30 10:22:27 -07:00
uniform-paths
uninhabited tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
union Use PredicateObligations instead of Predicates 2020-04-08 14:40:45 -07:00
unique
unresolved
unsafe Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
unsized Add regression test for #26376 2020-04-24 21:02:00 -04:00
unsized-locals Use fn_span to point to the actual method call 2020-06-11 18:10:13 -04:00
unused Revert "Mark attributes consumed by check_mod_attrs as normal" 2020-02-27 00:00:00 +00:00
unused-crate-deps Don't count pathless --extern options for unused-crate-dependencies warnings 2020-06-01 16:29:25 -07:00
use Use fn_span to point to the actual method call 2020-06-11 18:10:13 -04:00
variance Relate existential associated types with variance Invariant 2020-06-09 13:21:27 -03:00
variants Normalise notes with the/is 2020-01-24 16:24:50 +00:00
vec Skip tests on emscripten 2020-05-08 00:39:02 +09:00
wf Tweak type parameter errors to reduce verbosity 2020-05-30 10:22:26 -07:00
where-clauses Add label to item source of bound obligation 2020-04-18 17:19:53 -07:00
xcrate Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
zero-sized update tests 2020-03-31 19:01:49 +02:00
.gitattributes
absolute-paths-in-nested-use-groups.rs
absolute-paths-in-nested-use-groups.stderr
access-mode-in-closures.rs
access-mode-in-closures.stderr
alias-uninit-value.rs
align-with-extern-c-fn.rs Revert "Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe" 2019-11-13 17:00:47 +01:00
alignment-gep-tup-like-1.rs
alloca-from-derived-tydesc.rs
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
arg-count-mismatch.rs On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
arg-count-mismatch.stderr On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
arg-type-mismatch.rs
arg-type-mismatch.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
argument-passing.rs
array-break-length.rs ty: convert ErrorHandled::Reported to ConstKind::Error. 2020-04-16 19:00:30 +03:00
array-break-length.stderr ty: convert ErrorHandled::Reported to ConstKind::Error. 2020-04-16 19:00:30 +03:00
array-not-vector.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
array-not-vector.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
array_const_index-0.rs
array_const_index-0.stderr
array_const_index-1.rs
array_const_index-1.stderr
artificial-block.rs
as-precedence.rs
assert-eq-trailing-comma.rs
assert-escape.rs
assert-ne-trailing-comma.rs
assign-assign.rs
assign-imm-local-twice.rs
assign-imm-local-twice.stderr
assignment-operator-unimplemented.rs
assignment-operator-unimplemented.stderr
assoc-inherent.rs
assoc-inherent.stderr
assoc-oddities-3.rs
associated-item-long-paths.rs
associated-path-shl.rs
associated-path-shl.stderr
atomic-access-bool.rs
atomic-alignment.rs
atomic-compare_exchange.rs
atomic-print.rs
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-eq-token-tree.rs
attr-eq-token-tree.stderr
attr-main-2.rs
attr-main.rs
attr-shebang.rs Remove unused ignore-license directives 2020-01-24 00:00:00 +00:00
attr-start.rs
attr-usage-inline.rs
attr-usage-inline.stderr
attr-usage-repr.rs
attr-usage-repr.stderr
attr.rs
attribute-with-no-generics-in-parameter-list.rs
attribute-with-no-generics-in-parameter-list.stderr
attrs-resolution-errors.rs
attrs-resolution-errors.stderr
attrs-resolution.rs
augmented-assignments-feature-gate-cross.rs
augmented-assignments-feature-gate.rs
augmented-assignments-rpass.rs
augmented-assignments.rs
augmented-assignments.stderr
auto-instantiate.rs
auto-is-contextual.rs
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr update tests 2020-03-12 15:47:36 -05:00
auto-trait-validation.rs
auto-trait-validation.stderr review comments 2020-03-10 17:59:32 -07:00
autobind.rs
autoderef-full-lval.rs Update tests 2019-12-12 20:56:14 +01:00
autoderef-full-lval.stderr Do not emit note suggesting to implement trait to foreign type 2020-02-17 15:21:36 +01:00
backtrace-debuginfo-aux.rs
backtrace-debuginfo.rs
backtrace.rs
bare-fn-implements-fn-mut.rs
bare-static-string.rs
bastion-of-the-turbofish.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
big-literals.rs
binary-minus-without-space.rs
binary-op-on-double-ref.rs Update tests 2019-12-12 20:56:14 +01:00
binary-op-on-double-ref.stderr Update UI test expectations 2019-12-12 20:56:14 +01:00
bind-by-move.rs
binops-issue-22743.rs
binops.rs
bitwise.rs
blind-item-local-shadow.rs
blind-item-mixed-crate-use-item.rs
blind-item-mixed-use-item.rs
block-arg-call-as.rs
block-arg.rs
block-explicit-types.rs
block-expr-precedence.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
block-expr-precedence.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
block-expression-remove-semicolon.rs
block-expression-remove-semicolon.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
block-fn-coerce.rs update tests 2020-03-31 19:01:49 +02:00
block-iter-1.rs
block-iter-2.rs
bogus-tag.rs
bogus-tag.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
bool-not.rs
bool.rs
borrow-by-val-method-receiver.rs
bound-suggestions.fixed Tweak suggest_constraining_type_param 2020-03-29 13:13:17 -07:00
bound-suggestions.rs Account for trailing comma when suggesting where clauses 2020-05-28 16:31:48 -07:00
bound-suggestions.stderr Tweak suggest_constraining_type_param 2020-03-29 13:13:17 -07:00
bounds-lifetime.rs
bounds-lifetime.stderr
box-into-boxed-slice-fail.rs Add success and fail tests for into_boxed_slice 2020-04-26 15:42:43 +03:00
box-into-boxed-slice-fail.stderr Add success and fail tests for into_boxed_slice 2020-04-26 15:42:43 +03:00
box-into-boxed-slice.rs Add success and fail tests for into_boxed_slice 2020-04-26 15:42:43 +03:00
box-new.rs
break-outside-loop.rs
break-outside-loop.stderr
break-while-condition.rs Revert "Remove #![feature(never_type)] from tests." 2019-12-14 09:01:04 -05:00
break-while-condition.stderr Revert "Remove #![feature(never_type)] from tests." 2019-12-14 09:01:04 -05:00
bug-7183-generics.rs
bug-7295.rs
builtin-clone-unwind.rs
builtin-clone.rs
builtin-superkinds-capabilities-transitive.rs
builtin-superkinds-capabilities-xc.rs
builtin-superkinds-capabilities.rs
builtin-superkinds-in-metadata.rs
builtin-superkinds-phantom-typaram.rs
builtin-superkinds-simple.rs
builtin-superkinds-typaram.rs
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
byte-literals.rs
c-stack-returning-int64.rs
can-begin-expr-check.rs
can-begin-expr-check.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
can-copy-pod.rs
cancel-clean-via-immediate-rvalue-ref.rs
cannot-mutate-captured-non-mut-var.rs
cannot-mutate-captured-non-mut-var.stderr Update ui tests 2019-11-18 19:00:10 +01:00
capture1.rs
capture1.stderr
cast-char.rs
cast-char.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
cast-does-fallback.rs
cast-region-to-uint.rs
cast-rfc0401-vtable-kinds.rs
cast-rfc0401.rs
cast-to-infer-ty.rs
cast.rs
casts-differing-anon.rs
casts-differing-anon.stderr
casts-issue-46365.rs
casts-issue-46365.stderr
catch-unwind-bang.rs
cell-does-not-clone.rs
cfg-rustdoc.rs Rename the cfg attribute from rustdoc to doc 2019-11-21 15:38:30 +01:00
cfg-rustdoc.stderr Stabilize cfg rustdoc 2019-11-21 15:37:36 +01:00
changing-crates.rs
changing-crates.stderr
char.rs
char_unicode.rs Stabilize UNICODE_VERSION (feature unicode_version) 2020-04-23 14:36:30 +02:00
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
check-static-recursion-foreign.rs
check-static-values-constraints.rs
check-static-values-constraints.stderr Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02:00
check_const-feature-gated.rs
child-outlives-parent.rs
class-cast-to-trait.rs
class-cast-to-trait.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
class-method-missing.rs
class-method-missing.stderr
class-missing-self.rs
class-missing-self.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
cleanup-arm-conditional.rs
cleanup-rvalue-during-if-and-while.rs
cleanup-rvalue-for-scope.rs
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
cleanup-rvalue-scopes.rs update tests 2020-03-31 19:01:49 +02:00
cleanup-rvalue-temp-during-incomplete-alloc.rs
cleanup-shortcircuit.rs
clone-with-exterior.rs
close-over-big-then-small-data.rs
closure-expected.rs
closure-expected.stderr
closure_promotion.rs
cmp-default.rs
codegen-object-shim.rs
collections-const-new.rs Fix the numbering of the tests 2020-05-05 10:08:02 +02:00
command-line-diagnostics.rs
command-line-diagnostics.stderr
commandline-argfile-badutf8.args
commandline-argfile-badutf8.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
commandline-argfile-badutf8.stderr
commandline-argfile-missing.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
commandline-argfile-missing.stderr
commandline-argfile.args
commandline-argfile.rs
compile_error_macro.rs
compile_error_macro.stderr
complex.rs
concat-rpass.rs
concat.rs
concat.stderr
conflicting-repr-hints.rs lintify conflicting_repr_hints 2020-01-28 01:24:59 +01:00
conflicting-repr-hints.stderr Add long error explanation for E0634 #61137 2020-03-14 16:01:03 +05:30
conservative_impl_trait.rs
conservative_impl_trait.stderr
const-suggest-feature.rs Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02:00
const-suggest-feature.stderr Suggest to add missing feature when using gated const features 2020-05-04 23:47:00 +02:00
constructor-lifetime-args.rs
constructor-lifetime-args.stderr
continue-after-missing-main.nll.stderr
continue-after-missing-main.rs
continue-after-missing-main.stderr Update ui tests 2019-11-07 13:02:34 +01:00
conversion-methods.rs
conversion-methods.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
copy-a-resource.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
copy-a-resource.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
core-run-destroy.rs
crate-in-paths.rs
crate-in-paths.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
crate-leading-sep.rs
crate-method-reexport-grrrrrrr.rs
crate-name-attr-used.rs
crate-name-mismatch.rs
crate-name-mismatch.stderr
crt-static-off-works.rs
crt-static-on-works.rs Enable cfg predicate for target_feature = "crt-static" only if the target supports it 2020-05-03 10:31:33 +03:00
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs
custom_attribute.rs
custom_attribute.stderr
cycle-generic-bound.rs
cycle-projection-based-on-where-clause.rs
cycle-projection-based-on-where-clause.stderr Add descriptions for all queries 2020-05-31 20:15:32 +01:00
debuginfo-lto.rs
deduplicate-diagnostics-2.deduplicate.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
deduplicate-diagnostics-2.duplicate.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
deduplicate-diagnostics-2.rs Address review comments + Update NLL tests 2020-01-09 21:49:32 +03:00
deduplicate-diagnostics.deduplicate.stderr Address review comments + Update NLL tests 2020-01-09 21:49:32 +03:00
deduplicate-diagnostics.duplicate.stderr Address review comments + Update NLL tests 2020-01-09 21:49:32 +03:00
deduplicate-diagnostics.rs Address review comments + Update NLL tests 2020-01-09 21:49:32 +03:00
deep.rs
default-alloc-error-hook.rs
default-associated-types.rs
default-method-parsing.rs
default-method-simple.rs
defaults-well-formedness.rs
deprecation-in-force-unstable.rs
deref-lval.rs
deref-mut-on-ref.rs
deref-non-pointer.rs
deref-non-pointer.stderr
deref-on-ref.rs
deref-rc.rs
deref-suggestion.rs
deref-suggestion.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
deref.rs
derive-uninhabited-enum-38885.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
derive-uninhabited-enum-38885.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
destructure-trait-ref.rs review comments 2020-01-16 09:49:13 -08:00
destructure-trait-ref.stderr check_pat_ref: use pattern_cause 2020-02-25 05:53:21 +01:00
diverging-fallback-method-chain.rs
diverging-fallback-option.rs
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
diverging-tuple-parts-39485.rs
diverging-tuple-parts-39485.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
dont-suggest-private-trait-method.stderr Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
dotdotdot-expr.rs
dotdotdot-expr.stderr
double-import.rs
double-import.stderr
double-ref.rs
double-type-import.rs
double-type-import.stderr
dupe-first-attr.rc
duplicate_entry_error.rs Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
duplicate_entry_error.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
dyn-trait-compatibility.rs
dyn-trait-compatibility.stderr Suggest defining type parameter when appropriate 2020-01-26 10:57:18 -08:00
early-ret-binop-add.rs
early-vtbl-resolution.rs
edition-keywords-2015-2015.rs
edition-keywords-2015-2018.rs
edition-keywords-2018-2015.rs
edition-keywords-2018-2018.rs
elide-errors-on-mismatched-tuple.rs
elide-errors-on-mismatched-tuple.stderr check_pat_tuple: use pattern_cause 2020-02-25 05:46:58 +01:00
elided-test.rs
elided-test.stderr
else-if.rs
emit-artifact-notifications.nll.stderr
emit-artifact-notifications.polonius.stderr
emit-artifact-notifications.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
emit-artifact-notifications.stderr
empty-allocation-non-null.rs
empty-allocation-rvalue-non-null.rs
empty-type-parameter-list.rs
empty_global_asm.rs
enable-unstable-lib-feature.rs
enable-unstable-lib-feature.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
enums-pats-not-idents.rs
enums-pats-not-idents.stderr
env-args-reverse-iterator.rs
env-funky-keys.rs Disable the testcase for Vxworks. 2020-01-27 09:37:57 -08:00
env-home-dir.rs
env-null-vars.rs
env-vars.rs
epoch-gate-feature.rs
eprint-on-tls-drop.rs Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
eq-multidispatch.rs
error-festival.rs
error-festival.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
estr-subtyping.rs
estr-subtyping.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
estr-uniq.rs
eval-enum.rs
eval-enum.stderr
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
exec-env.rs
expanded-cfg.rs
explain.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
explain.stdout bless tests 2020-03-06 19:37:22 +01:00
explicit-i-suffix.rs
explore-issue-38412.rs
explore-issue-38412.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
export-fully-qualified.rs
export-fully-qualified.stderr
export-glob-imports-target.rs
export-import.rs
export-import.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
export-multi.rs
export-non-interference2.rs
export-non-interference3.rs
export-tag-variant.rs
export-tag-variant.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
export.rs
export.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
export2.rs
export2.stderr
expr-block-fn.rs
expr-block-generic-unique1.rs update tests 2020-03-31 19:01:49 +02:00
expr-block-generic-unique2.rs update tests 2020-03-31 19:01:49 +02:00
expr-block-generic.rs update tests 2020-03-31 19:01:49 +02:00
expr-block-slot.rs
expr-block-unique.rs update tests 2020-03-31 19:01:49 +02:00
expr-block.rs update tests 2020-03-31 19:01:49 +02:00
expr-copy.rs
expr-empty-ret.rs
expr-fn.rs update tests 2020-03-31 19:01:49 +02:00
expr-if-generic.rs
expr-if-panic-all.rs
expr-if-panic.rs
expr-if-unique.rs
expr-if.rs
expr-scope.rs
expr_attr_paren_order.rs
expr_attr_paren_order.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
ext-expand-inner-exprs.rs
ext-nonexistent.rs
ext-nonexistent.stderr
extend-for-unit.rs
exterior.rs
extern-prelude-fail.rs
extern-prelude-fail.stderr
extern-prelude.rs
extoption_env-no-args.rs
extoption_env-no-args.stderr
extoption_env-not-defined.rs
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr
fact.rs
fail-simple.rs
fail-simple.stderr
fat-lto.rs
fat-ptr-cast-rpass.rs
fat-ptr-cast.rs
fat-ptr-cast.stderr
fds-are-cloexec.rs
feature-gate-optimize_attribute.rs
feature-gate-optimize_attribute.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
feature-gated-feature-in-macro-arg.rs
feature-gated-feature-in-macro-arg.stderr parser: don't hardcode ABIs into grammar 2019-11-07 05:25:31 +01:00
ffi_const.rs Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_const.stderr Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_const2.rs Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_const2.stderr Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_pure.rs Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_pure.stderr Add tests for #[ffi_const] and #[ffi_pure] function attributes 2020-05-20 01:16:11 +02:00
ffi_returns_twice.rs
ffi_returns_twice.stderr Add long error explanation for E0724 2020-06-11 23:16:42 +05:30
filter-block-view-items.rs
fixup-deref-mut.rs
float-literal-inference-restrictions.rs
float-literal-inference-restrictions.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
fn-in-pat.rs update tests 2020-03-12 15:47:36 -05:00
fn-in-pat.stderr update tests 2020-03-12 15:47:36 -05:00
fn_must_use.rs Moving more build-pass tests to check-pass 2020-04-23 20:21:38 -07:00
fn_must_use.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
foreign-fn-return-lifetime.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr Tweak wording 2020-04-22 12:12:33 -07:00
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.stderr
format-nan.rs
format-no-std.rs
format-ref-cell.rs
fsu-moves-and-copies.rs
fun-call-variants.rs
fun-indirect-call.rs
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
gated-bad-feature.rs
gated-bad-feature.stderr
glob-cycles.rs
glob-resolve1.rs
glob-resolve1.stderr reword "possible candidate" import suggestion 2020-05-07 00:33:25 -04:00
global-scope.rs
guards.rs
hello.rs
hidden-rt-injection.rs
hidden-rt-injection.stderr
hidden-rt-injection2.rs
hidden-rt-injection2.stderr
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
html-literals.rs
huge-array-simple-32.rs fix 32bit-only test 2020-02-19 20:12:01 +01:00
huge-array-simple-32.stderr add build-fail to 32-bit tests 2019-12-21 22:33:36 +01:00
huge-array-simple-64.rs better lint names 2020-02-18 22:49:47 +01:00
huge-array-simple-64.stderr rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-array.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-array.stderr rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-enum.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-enum.stderr rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-struct.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
huge-struct.stderr rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
if-bot.rs
if-check.rs
if-else-type-mismatch.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
if-else-type-mismatch.stderr Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
if-ret.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
if-ret.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
ifmt.rs Remove a comment about pretty printer in formatting tests 2020-02-01 13:29:00 +01:00
ignore-all-the-things.rs slice_patterns: address review comments 2020-01-18 19:33:47 +01:00
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr Merge spans for the suggestion 2020-05-23 00:16:17 +03:00
immut-function-arguments.rs
immut-function-arguments.stderr Update ui tests 2019-11-18 19:00:10 +01:00
impl-bounds-checking.rs
impl-bounds-checking.stderr Do not emit note for projected derived obligations 2020-04-18 16:37:08 -07:00
impl-duplicate-methods.rs
impl-duplicate-methods.stderr
impl-inherent-non-conflict.rs
impl-not-adjacent-to-type.rs
impl-privacy-xc-1.rs
impl-privacy-xc-2.rs
impl-trait-in-bindings.rs adjust tests 2020-05-09 14:40:17 +02:00
impl-trait-in-bindings.stderr adjust tests 2020-05-09 14:40:17 +02:00
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 Add span label to primary error span 2020-03-22 11:18:06 -07:00
import.rs
import.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
import2.rs
import2.stderr
import3.rs
import3.stderr
import4.rs
import4.stderr
impossible_range.rs Ban ...X pats, harden tests, and improve diagnostics. 2020-01-11 08:58:58 +01:00
impossible_range.stderr Ban ...X pats, harden tests, and improve diagnostics. 2020-01-11 08:58:58 +01:00
in-band-lifetimes.rs
inc-range-pat.rs
include-single-expr-helper-1.rs
include-single-expr-helper.rs
include-single-expr.rs
include-single-expr.stderr
index-bot.rs
index-bot.stderr
index-help.rs
index-help.stderr
index_message.rs
index_message.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
infer-fn-tail-expr.rs
inherit-env.rs
init-large-type.rs init-large-type test needs optimizations 2020-03-16 14:38:33 +01:00
init-res-into-things.rs
inline-asm-bad-constraint.rs Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
inline-asm-bad-constraint.stderr Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
inline-asm-bad-operand.rs Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
inline-asm-bad-operand.stderr Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
inlined-main.rs
inner-attrs-on-impl.rs
inner-module.rs
inner-static-type-parameter.rs
inner-static-type-parameter.stderr
inner-static.rs
instantiable.rs
integer-literal-suffix-inference.rs Fix order of comparison and remove incorrect case for ints in typeck/demand.rs 2020-04-12 12:14:42 +05:30
integer-literal-suffix-inference.stderr Add blessed tests after compiler message fix 2020-04-12 12:15:07 +05:30
integral-indexing.rs
integral-indexing.stderr
integral-variable-unification-error.rs Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
integral-variable-unification-error.stderr Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
intrinsics-always-extern.rs
intrinsics-always-extern.stderr
invalid_crate_type_syntax.rs
invalid_crate_type_syntax.stderr
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr
issues-71798.rs Do not try to find binop method on RHS TyErr 2020-05-02 12:50:57 -07:00
issues-71798.stderr Do not try to find binop method on RHS TyErr 2020-05-02 12:50:57 -07:00
istr.rs
item-name-overload.rs
json-and-color.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-and-color.stderr
json-and-error-format.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-and-error-format.stderr
json-bom-plus-crlf-multifile-aux.rs
json-bom-plus-crlf-multifile.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-bom-plus-crlf-multifile.stderr Improve E0308 error message wording again 2020-04-21 15:06:24 -04:00
json-bom-plus-crlf.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-bom-plus-crlf.stderr Improve E0308 error message wording again 2020-04-21 15:06:24 -04:00
json-invalid.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-invalid.stderr
json-multiple.nll.stderr
json-multiple.polonius.stderr
json-multiple.rs
json-multiple.stderr
json-options.nll.stderr
json-options.polonius.stderr
json-options.rs
json-options.stderr
json-short.rs refactor & address review comments 2019-12-21 22:16:00 +01:00
json-short.stderr Update UI test 2020-05-26 11:16:02 +02:00
keyword-changes-2012-07-31.rs
kindck-implicit-close-over-mut-var.rs
kinds-in-metadata.rs
lambda-infer-unresolved.rs
lambda-var-hygiene.rs
lang-item-missing-generator.rs
lang-item-missing-generator.stderr
lang-item-missing.rs
lang-item-missing.stderr
large-records.rs
last-use-in-block.rs
last-use-in-cap-clause.rs
last-use-is-capture.rs
lazy-and-or.rs
lazy-init.rs
leak-unique-as-tydesc.rs
lex-bare-cr-nondoc-comment.rs
lexer-crlf-line-endings-string-literal-doc-comment.rs Remove unused ignore-license directives 2020-01-24 00:00:00 +00:00
lexical-scopes.rs
lexical-scopes.stderr resolve: Do not suggest imports from the same module in which we are resolving 2020-05-30 20:42:20 +03:00
lexical-scoping.rs
lifetime-before-type-params.rs
lifetime-before-type-params.stderr
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
link-cfg-works.rs
link-section.rs
linkage1.rs
lint-cap.rs
lint-expr-stmt-attrs-for-early-lints.rs
lint-unknown-lints-at-crate-level.rs
list.rs
liveness-assign-imm-local-after-ret.rs
llvm-pr32379.rs
log-err-phi.rs
log-knows-the-names-of-variants-in-std.rs
log-knows-the-names-of-variants.rs
log-poly.rs
logging-only-prints-once.rs
logging_before_rt_started.rs
long-while.rs
loud_ui.rs
lto-and-no-bitcode-in-rlib.rs Rename bitcode-in-rlib option to embed-bitcode 2020-05-01 09:05:13 -07:00
lto-and-no-bitcode-in-rlib.stderr Rename bitcode-in-rlib option to embed-bitcode 2020-05-01 09:05:13 -07:00
lto-duplicate-symbols.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
lto-duplicate-symbols.stderr Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
lto-many-codegen-units.rs
lto-rustc-loads-linker-plugin.rs Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
lto-still-runs-thread-dtors.rs
lto-thin-rustc-loads-linker-plugin.rs Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
lub-glb-with-unbound-infer-var.rs
lub-if.nll.stderr
lub-if.rs
lub-if.stderr
lub-match.nll.stderr
lub-match.rs
lub-match.stderr
macro-quote-cond.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
macro-quote-test.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
main-wrong-location.rs
main-wrong-location.stderr
main-wrong-type.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
main-wrong-type.stderr Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
malformed_macro_lhs.rs
malformed_macro_lhs.stderr
map-types.rs
map-types.stderr
match-on-negative-integer-ranges.rs
max-min-classes.rs
maybe-bounds-where-cpass.rs
maybe-bounds-where.rs
maybe-bounds-where.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
maybe-bounds.rs
maybe-bounds.stderr
meta-expected-error-correct-rev.a.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
meta-expected-error-correct-rev.rs
meta-revision-bad.rs Move tests from test/run-fail to UI 2020-05-06 14:02:55 +09:00
meta-revision-ok.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
mid-path-type-params.rs
minmax-stability-issue-23687.rs
minus-string.rs
minus-string.stderr Do not emit note suggesting to implement trait to foreign type 2020-02-17 15:21:36 +01:00
mir-unpretty.rs
mir-unpretty.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
mir_check_nonconst.rs
mir_check_nonconst.stderr
missing_debug_impls.rs use def_path_str for missing_debug_impls message 2020-02-04 17:08:50 -05:00
missing_debug_impls.stderr use def_path_str for missing_debug_impls message 2020-02-04 17:08:50 -05:00
mod-subitem-as-enum-variant.rs
mod-subitem-as-enum-variant.stderr
module-macro_use-arguments.rs Add backticks in appropriate places 2020-01-12 15:37:50 +00:00
module-macro_use-arguments.stderr Add backticks in appropriate places 2020-01-12 15:37:50 +00:00
monad.rs
monomorphize-abi-alignment.rs
monomorphized-callees-with-ty-params-3314.rs
mpsc_stress.rs
msvc-data-only.rs
multi-panic.rs Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
multibyte.rs
multidispatch-conditional-impl-not-considered.rs
multidispatch1.rs
multidispatch2.rs
multiline-comment.rs
multiple-main-2.rs
multiple-main-2.stderr
multiple-main-3.rs
multiple-main-3.stderr
multiple-plugin-registrars.rs
multiple-plugin-registrars.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
multiple-reprs.rs
mut-function-arguments.rs
mut-vstore-expr.rs
mutexguard-sync.rs
mutexguard-sync.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
mutual-recursion-group.rs
native-print-no-runtime.rs
negative.rs
nested-block-comment.rs
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-class.rs
nested-function-names-issue-8587.rs
nested-ty-params.rs
nested-ty-params.stderr
nested_impl_trait.rs
nested_impl_trait.stderr
nested_item_main.rs
new-box-syntax.rs
new-box.rs
new-impl-syntax.rs
new-import-syntax.rs
new-style-constants.rs
new-unicode-escapes.rs
new-unsafe-pointers.rs
newlambdas-ret-infer.rs
newlambdas-ret-infer2.rs
newlambdas.rs
newtype-polymorphic.rs
newtype-temporary.rs
newtype.rs
nil-decl-in-foreign.rs
no-capture-arc.rs
no-capture-arc.stderr
no-core-1.rs
no-core-2.rs
no-implicit-prelude-nested.rs
no-implicit-prelude-nested.stderr Remove noisy suggestion of hash_map #72642 2020-06-09 08:49:05 +05:30
no-implicit-prelude.rs
no-implicit-prelude.stderr Remove noisy suggestion of hash_map #72642 2020-06-09 08:49:05 +05:30
no-link-unknown-crate.rs
no-link-unknown-crate.stderr
no-link.rs
no-link.stderr
no-patterns-in-args-2.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
no-patterns-in-args-2.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
no-patterns-in-args-macro.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
no-patterns-in-args-macro.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
no-patterns-in-args.rs
no-patterns-in-args.stderr
no-reuse-move-arc.rs
no-reuse-move-arc.stderr
no-send-res-ports.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
no-send-res-ports.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
no-std-1.rs
no-std-2.rs
no-std-3.rs
no-std-inject.rs
no-std-inject.stderr
no-stdio.rs
no-type-for-node-ice.rs
no-type-for-node-ice.stderr
no-warn-on-field-replace-issue-34101.rs
no_crate_type.rs
no_crate_type.stderr
no_owned_box_lang_item.rs Remove eh_unwind_resume lang item 2020-03-05 17:36:50 +00:00
no_owned_box_lang_item.stderr
no_send-enum.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
no_send-enum.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
no_send-rc.rs
no_send-rc.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
no_send-struct.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
no_send-struct.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
no_share-enum.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
no_share-enum.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
no_share-struct.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
no_share-struct.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
noexporttypeexe.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
noexporttypeexe.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
non-built-in-quote.rs
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 tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
non-copyable-void.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
non-ice-error-on-worker-io-fail.rs Use a non-existent test path instead of clobbering /dev/null 2020-05-01 16:50:10 -07:00
non-ice-error-on-worker-io-fail.stderr Use a non-existent test path instead of clobbering /dev/null 2020-05-01 16:50:10 -07:00
non-integer-atomic.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
non-integer-atomic.stderr rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
non-legacy-modes.rs
noncopyable-class.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
noncopyable-class.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Point at the def span of trait refs E0277 2020-01-08 09:30:27 -08:00
not-copy-closure.rs
not-copy-closure.stderr
not-enough-arguments.rs On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
not-enough-arguments.stderr On mismatched argument count point at arguments 2020-02-11 12:42:00 -08:00
not-sync.rs
not-sync.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
nul-characters.rs
nullable-pointer-ffi-compat.rs
nullable-pointer-iotareduction.rs
nullable-pointer-size.rs
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
object-lifetime-default-default-to-static.rs
object-lifetime-default-from-rptr-box.rs
object-lifetime-default-from-rptr-mut.rs
object-lifetime-default-from-rptr.rs
object-method-numbering.rs
object-pointer-types.rs
object-pointer-types.stderr Account for arbitrary self types in E0599 2020-02-28 11:37:59 -08:00
objects-coerce-freeze-borrored.rs
objects-owned-object-borrowed-method-headerless.rs
objects-owned-object-owned-method.rs
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
offset_from.rs
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 Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
once-move-out-on-heap.rs
one-tuple.rs
op-assign-builtins-by-ref.rs
opeq.rs
operator-associativity.rs
operator-multidispatch.rs
operator-overloading.rs
opt-in-copy.rs
opt-in-copy.stderr
optimization-fuel-0.rs Emit a warning when optimization fuel runs out 2020-05-10 15:40:17 +02:00
optimization-fuel-0.stderr Emit a warning when optimization fuel runs out 2020-05-10 15:40:17 +02:00
optimization-fuel-1.rs Emit a warning when optimization fuel runs out 2020-05-10 15:40:17 +02:00
optimization-fuel-1.stderr Emit a warning when optimization fuel runs out 2020-05-10 15:40:17 +02:00
option-ext.rs
option-to-result.rs Provide better compiler output when using ? on Option in fn returning Result and vice-versa 2020-04-14 20:50:26 +02:00
option-to-result.stderr Point at the return type on .into() failure caused by ? 2020-04-26 11:50:58 -07:00
option-unwrap.rs
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr Diagnostics should start lowercase 2020-01-12 15:36:40 +00:00
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr Improve coherence errors for wrong type order 2019-11-10 16:26:38 +01:00
osx-frameworks.rs
osx-frameworks.stderr
out-of-order-shadowing.rs
out-of-order-shadowing.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
out-of-stack.rs Update tests to use llvm_asm! 2020-03-26 15:49:22 +00:00
out-pointer-aliasing.rs
output-slot-variants.rs
output-type-mismatch.rs
output-type-mismatch.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
over-constrained-vregs.rs
overlap-doesnt-conflict-with-specialization.rs Remove the overlapping_marker_traits feature 2020-02-04 13:20:47 -05:00
overlap-permitted-for-annotated-marker-traits.rs
overloaded-calls-nontuple.rs
overloaded-calls-nontuple.stderr
owned-implies-static.rs
panic-while-printing.rs std: Don't abort process when printing panics in tests 2020-03-18 07:06:13 -07:00
panic_implementation-closures.rs
paren-free.rs
paren-span.rs
paren-span.stderr Add span label to primary error span 2020-03-22 11:18:06 -07:00
parenthesized-deref-suggestion.rs
parenthesized-deref-suggestion.stderr
parse-assoc-type-lt.rs
parse-error-correct.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parse-error-correct.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parse-panic.rs
parser-recovery-1.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parser-recovery-1.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parser-recovery-2.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parser-recovery-2.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
parser-unicode-whitespace.rs
partialeq_help.rs
partialeq_help.stderr
path-lookahead.rs
path-lookahead.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
path.rs
pathless-extern-ok.rs Add more --extern tests. 2019-11-07 05:51:17 -08:00
paths-containing-nul.rs Use drop instead of the toilet closure |_| () 2020-01-02 08:56:12 +00:00
phantom-oibit.rs
phantom-oibit.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
placement-syntax.rs
placement-syntax.stderr
point-to-type-err-cause-on-impl-trait-return-2.rs
point-to-type-err-cause-on-impl-trait-return-2.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
point-to-type-err-cause-on-impl-trait-return.rs Add backticks to various diagnostics 2020-01-05 00:17:46 +00:00
point-to-type-err-cause-on-impl-trait-return.stderr Account for object safety when suggesting Box<dyn Trait> 2020-01-16 09:49:14 -08:00
pptypedef.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
pptypedef.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
precise_pointer_size_matching.rs
precise_pointer_size_matching.stderr Prefer the associated consts for pattern matching error 2020-06-13 01:18:18 +00:00
prim-with-args.rs
prim-with-args.stderr
primitive-binop-lhs-mut.rs
print-stdout-eprint-stderr.rs
priv-in-bad-locations.rs
priv-in-bad-locations.stderr
proc_macro.rs Stabilize fn-like proc macros in expression, pattern and statement positions 2020-05-03 19:24:41 +03:00
project-cache-issue-31849.rs
project-cache-issue-37154.rs
project-defer-unification.rs
ptr-coercion-rpass.rs
ptr-coercion.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
ptr-coercion.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
pure-sum.rs
purity-infer.rs
question-mark-type-infer.rs Point at method call when type annotations are needed 2019-12-10 12:02:18 -08:00
question-mark-type-infer.stderr "cannot resolve" → "cannot satisfy" 2020-04-05 10:14:04 -07:00
range-type-infer.rs
range.rs update tests 2020-03-31 19:01:49 +02:00
range_inclusive.rs update tests 2020-03-31 19:01:49 +02:00
range_inclusive_gate.rs
ranges-precedence.rs
raw-fat-ptr.rs
raw-str.rs
rcvr-borrowed-to-region.rs
reachable-unnameable-items.rs
reachable-unnameable-type-alias.rs
readalias.rs
realloc-16687.rs Make fields in MemoryBlock public 2020-03-28 20:22:07 +01:00
reassign-ref-mut.rs
reassign-ref-mut.stderr
reexport-should-still-link.rs
reexport-star.rs
reexport-test-harness-main.rs
ref-suggestion.rs
ref-suggestion.stderr
refer-to-other-statics-by-value.rs
regions-fn-subtyping-return-static-fail.rs
regions-fn-subtyping-return-static-fail.stderr Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
reify-intrinsic.rs
reify-intrinsic.stderr Increase verbosity when suggesting subtle code changes 2020-03-22 10:36:45 -07:00
reject-specialized-drops-8142.rs Don't use spaces before type ascription like colons 2020-01-25 13:19:21 +01:00
reject-specialized-drops-8142.stderr Fix spacing of expected/found notes without a label 2020-05-27 16:27:15 -07:00
removing-extern-crate.fixed Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
removing-extern-crate.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
removing-extern-crate.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
repeat-expr-in-static.rs
repeat-to-run-dtor-twice.rs
repeat-to-run-dtor-twice.stderr
repeat_count.rs refactor check_for_cast 2020-05-20 16:08:09 +02:00
repeat_count.stderr refactor check_for_cast 2020-05-20 16:08:09 +02:00
repeat_count_const_in_async_fn.rs Normalize MIR locals' types for generator layout computation. 2020-04-09 16:48:36 +02:00
repr.rs
repr.stderr Suggest #[repr(C)] instead of #[repr(C, packed, ...)] 2019-11-08 12:32:46 -03:00
repr_c_int_align.rs
required-lang-item.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
required-lang-item.stderr
resolve-issue-2428.rs
resolve-pseudo-shadowing.rs
resolve_self_super_hint.rs
resolve_self_super_hint.stderr
resource-assign-is-not-copy.rs
resource-destruct.rs
result-opt-conversions.rs
ret-bang.rs
ret-non-nil.rs
ret-non-nil.stderr
ret-none.rs
retslot-cast.rs
retslot-cast.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
return-nil.rs
rfc1623-2.rs Account for fn() types in lifetime suggestions 2020-02-05 10:32:01 -08:00
rfc1623-2.stderr review comments: wording 2020-02-05 10:32:01 -08:00
rfc1623.rs Account for fn() types in lifetime suggestions 2020-02-05 10:32:01 -08:00
rfc1623.stderr Account for fn() types in lifetime suggestions 2020-02-05 10:32:01 -08:00
rmeta-lib-pass.rs
rmeta-pass.rs
rmeta-priv-warn.rs
rmeta-rpass.rs Correct rmeta/rlib test 2020-01-20 16:00:01 -05:00
rmeta.rs
rmeta.stderr
rmeta_lib.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
rmeta_lib.stderr
rmeta_meta_main.rs
rmeta_meta_main.stderr
running-with-no-runtime.rs
rustc-args-required-const.rs
rustc-args-required-const.stderr
rustc-args-required-const2.rs
rustc-args-required-const2.stderr
rustc-error.rs
rustc-error.stderr
rustc-rust-log.rs
rvalue-static-promotion.rs
safe-extern-statics-mut.rs
safe-extern-statics-mut.stderr
safe-extern-statics.rs safe_extern_static -> error 2019-11-06 11:10:36 +01:00
safe-extern-statics.stderr safe_extern_static -> error 2019-11-06 11:10:36 +01:00
semistatement-in-lambda.rs
seq-args.rs
seq-args.stderr
seq-compare.rs
shadow-bool.rs Add primitive module to libcore/std 2020-02-06 16:29:01 -05:00
shadow.rs
shadowed-use-visibility.rs
shebang.rs
shift-various-bad-types.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
shift-various-bad-types.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
short-error-format.rs
short-error-format.stderr
signal-alternate-stack-cleanup.rs
signal-exit-status.rs
sigpipe-should-be-ignored.rs
simd-type-generic-monomorphisation.rs rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
simd-type-generic-monomorphisation.stderr
simd-type.rs
simd-type.stderr
similar-tokens.rs
similar-tokens.stderr Refactor 'parse_enum_item' to use 'parse_delim_comma_seq' 2019-11-26 19:24:36 +01:00
simple-infer.rs
simple_global_asm.rs
single-primitive-inherent-impl.rs
single-primitive-inherent-impl.stderr
size-and-align.rs
sized-borrowed-pointer.rs
sized-cycle-note.rs
sized-cycle-note.stderr
sized-owned-pointer.rs
sleep.rs
slice-2.rs
slice-2.stderr
slice-mut-2.rs
slice-mut-2.stderr
slice-mut.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
slice-mut.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
slightly-nice-generic-literal-messages.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
slightly-nice-generic-literal-messages.stderr enhance check_pat_lit with TopInfo 2020-02-25 04:10:58 +01:00
slowparse-bstring.rs
slowparse-string.rs
sse2.rs
stability-in-private-module.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
stability-in-private-module.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
stable-addr-of.rs
stable-features.rs
stable-features.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
static_sized_requirement.rs
staticness-mismatch.rs
staticness-mismatch.stderr
std-backtrace.rs Fix failing backtrace ui tests 2020-02-11 16:57:22 -08:00
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stdio-is-blocking.rs
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
str-concat.rs
str-multiline.rs
string-box-error.rs
string-escapes.rs
struct-ctor-mangling.rs
struct-literal-variant-in-if.rs
struct-literal-variant-in-if.stderr Tweak some suggestions in rustc_resolve 2020-04-26 11:43:43 -07:00
structured-compare.rs
substs-ppaux.normal.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
substs-ppaux.rs review comments: tweak prefix strings 2019-11-18 11:02:44 -08:00
substs-ppaux.verbose.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
suffixed-literal-meta.rs Update tests 2020-01-09 21:23:12 +03:00
suffixed-literal-meta.stderr Add backticks in appropriate places 2020-01-12 15:37:50 +00:00
super-at-top-level.rs Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
super-at-top-level.stderr Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
super-fast-paren-parsing.rs unused-parens: implement for const/static items 2020-02-05 21:01:23 -05:00
super.rs
supported-cast.rs
suppressed-error.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
suppressed-error.stderr check_pat_tuple: use pattern_cause 2020-02-25 05:46:58 +01:00
svh-add-nothing.rs
swap-1.rs
swap-2.rs
swap-overlapping.rs
switched-expectations.rs
switched-expectations.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
syntax-extension-minor.rs
syntax-trait-polarity-feature-gate.rs
syntax-trait-polarity-feature-gate.stderr create a tracking issue and link to it 2020-03-26 06:52:57 -04:00
syntax-trait-polarity.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
syntax-trait-polarity.stderr permit negative impls for non-auto traits 2020-03-26 06:27:45 -04:00
synthetic-param.rs
synthetic-param.stderr
tag-that-dare-not-speak-its-name.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
tag-that-dare-not-speak-its-name.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
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-call-arg-leak.rs
tail-cps.rs
tail-direct.rs
tail-typeck.rs
tail-typeck.stderr Emit coercion suggestions in more places 2019-12-03 21:51:16 -05:00
tcp-stress.rs
terminate-in-initializer.rs
terr-in-field.rs Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
terr-in-field.stderr Remove E0308 note when primary label has all info 2019-11-18 11:03:03 -08:00
terr-sorts.rs Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
terr-sorts.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
test-allow-dead-extern-static-no-warning.rs
test-cfg.rs
test-cfg.stderr
test-panic-abort-disabled.rs Improve error message for tests with panic=abort 2019-11-15 05:52:06 -08:00
test-panic-abort-disabled.stderr Improve error message for tests with panic=abort 2019-11-15 05:52:06 -08:00
test-panic-abort-nocapture.rs Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
test-panic-abort-nocapture.run.stderr Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
test-panic-abort-nocapture.run.stdout Respect --nocapture in panic=abort test mode 2020-02-06 14:43:53 -08:00
test-panic-abort.rs Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
test-panic-abort.run.stdout Ignore SGX on a few ui tests 2020-05-05 19:19:39 -07:00
test-panic-while-printing.rs std: Don't abort process when printing panics in tests 2020-03-18 07:06:13 -07:00
thin-lto-global-allocator.rs
thread-local-in-ctfe.rs Bless remaining test output 2019-11-21 20:55:17 +00:00
thread-local-in-ctfe.stderr Bless remaining test output 2019-11-21 20:55:17 +00:00
thread-local-mutation.rs
thread-local-mutation.stderr Update ui tests 2019-11-18 19:00:10 +01:00
thread-local-not-in-prelude.rs
tool_attributes.rs
tool_lints-fail.rs
tool_lints-fail.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
tool_lints-rpass.rs
tool_lints.rs Update tests 2020-01-09 21:23:12 +03:00
tool_lints.stderr update tool_lints 2020-03-25 11:32:23 +05:30
tool_lints_2018_preview.rs
trace_macros-format.rs
trace_macros-format.stderr
trace_macros-gate.rs
trace_macros-gate.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
trailing-comma.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
trait-method-number-parameters.rs
trait-method-number-parameters.stderr
transmute-equal-assoc-types.rs
transmute-equal-assoc-types.stderr
transmute-non-immediate-to-immediate.rs
transmute-specialization.rs
trivial-message.rs
trivial_casts-rpass.rs
trivial_casts.rs
trivial_casts.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
try-block.rs
try-from-int-error-partial-eq.rs
try-is-identifier-edition2015.rs
try-macro-suggestion.rs Account for use of try!() in 2018 edition and guide users in the right direction 2020-04-17 14:08:08 +02:00
try-macro-suggestion.stderr Account for use of try!() in 2018 edition and guide users in the right direction 2020-04-17 14:08:08 +02:00
try-on-option-diagnostics.rs Test try diagnostics for impl and trait methods 2020-01-21 18:56:56 +01:00
try-on-option-diagnostics.stderr Test try diagnostics for impl and trait methods 2020-01-21 18:56:56 +01:00
try-on-option.rs
try-on-option.stderr Point at the return type on .into() failure caused by ? 2020-04-26 11:50:58 -07:00
try-operator-custom.rs
try-operator-hygiene.rs
try-operator-on-main.rs
try-operator-on-main.stderr Small tweaks to required bound span 2020-04-08 14:40:51 -07:00
try-operator.rs
try-poll.rs
try-wait.rs
tup.rs
tuple-index-fat-types.rs
tuple-index.rs
tutorial-suffix-inference-test.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
tutorial-suffix-inference-test.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
tydesc-name.rs
type-ascription.rs
type-id-higher-rank-2.rs
type-id-higher-rank.rs
type-in-nested-module.rs
type-infer-generalize-ty-var.rs
type-namespace.rs
type-param-constraints.rs
type-param.rs
type-params-in-for-each.rs
type-ptr.rs
type-sizes.rs Do not disable field reordering on enums with big discriminant 2020-04-03 23:12:39 +02:00
type-use-i1-versus-i8.rs
type_length_limit.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
type_length_limit.stderr test fallout 2019-12-22 19:04:10 -05:00
typeck-closure-to-unsafe-fn-ptr.rs
typeck-fn-to-unsafe-fn-ptr.rs
typeck_type_placeholder_1.rs
typeclasses-eq-example-static.rs
typeclasses-eq-example.rs
typeid-intrinsic.rs
typestate-cfg-nesting.rs
typestate-multi-decl.rs
ufcs-polymorphic-paths.rs
ufcs-type-params.rs
ui-testing-optout.rs Remove dangling COPYRIGHT references 2020-05-19 14:34:30 -04:00
ui-testing-optout.stderr Remove dangling COPYRIGHT references 2020-05-19 14:34:30 -04:00
unary-minus-suffix-inference.rs
unconstrained-none.rs
unconstrained-none.stderr Indicate origin of where type parameter for uninferred types 2019-12-14 11:10:21 +01:00
unconstrained-ref.rs
unconstrained-ref.stderr Indicate origin of where type parameter for uninferred types 2019-12-14 11:10:21 +01:00
underscore-ident-matcher.rs
underscore-ident-matcher.stderr
underscore-lifetimes.rs
underscore-method-after-integer.rs
unevaluated_fixed_size_array_len.rs
unevaluated_fixed_size_array_len.stderr
unify-return-ty.rs
uninit-empty-types.rs Remove mem::uninitalized from tests 2019-12-22 21:58:12 -05:00
unique-object-noncopyable.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
unique-object-noncopyable.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
unique-pinned-nocopy.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
unique-pinned-nocopy.stderr tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
unit.rs
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs Update tests 2020-01-09 21:23:12 +03:00
unknown-lint-tool-name.stderr Refactor changes 2020-03-24 13:09:18 +05:30
unknown-tool-name.rs
unknown-tool-name.stderr
unnamed_argument_mode.rs
unnecessary-extern-crate.rs
unnecessary-extern-crate.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unop-move-semantics.rs
unop-move-semantics.stderr Explain move errors that occur due to method calls involving self 2020-06-11 17:40:40 -04:00
unop-neg-bool.rs
unop-neg-bool.stderr Do not emit note suggesting to implement trait to foreign type 2020-02-17 15:21:36 +01:00
unreachable-code-1.rs
unreachable-code-ret.rs
unreachable-code-ret.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
unreachable-code.rs
unrestricted-attribute-tokens.rs
unsafe-coercion.rs
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-pointer-assignability.rs
unsized-tuple-impls.rs
unsized.rs
unsized2.rs
unsized3-rpass.rs
unsized3.rs
unsized3.stderr Fix whitespace in ?Sized structured suggestion 2020-05-16 12:56:21 -07:00
unsized5.rs
unsized5.stderr Account for ?Sized type parameter bounds 2020-02-02 11:53:10 -08:00
unsized6.rs
unsized6.stderr Account for ?Sized type parameter bounds 2020-02-02 11:53:10 -08:00
unsized7.rs
unsized7.stderr Do not emit note for projected derived obligations 2020-04-18 16:37:08 -07:00
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr Revert old span change 2020-04-22 12:12:33 -07:00
unsupported-cast.rs
unsupported-cast.stderr
unterminated-comment.rs Add tests for E0758 2020-06-07 14:57:57 +02:00
unterminated-comment.stderr Add tests for E0758 2020-06-07 14:57:57 +02:00
unterminated-doc-comment.rs Add tests for E0758 2020-06-07 14:57:57 +02:00
unterminated-doc-comment.stderr Add tests for E0758 2020-06-07 14:57:57 +02:00
unused-move-capture.rs
unused-move.rs
unwind-resource.rs
unwind-unique.rs
use-crate-name-alias.rs
use-import-export.rs
use-keyword-2.rs
use-mod.rs
use-module-level-int-consts.rs Add test accessing the module level int/float consts 2020-01-23 20:55:07 +01:00
use-nested-groups.rs
use-self-in-inner-fn.rs
use-self-in-inner-fn.stderr
use.rs
use_inline_dtor.rs
used.rs
used.stderr
useless-comment.rs clean things up 2020-02-21 16:01:48 -08:00
useless-comment.stderr Clarify unused_doc_comments note on macro invocations 2020-04-21 21:16:50 -07:00
useless-pub.rs
useless-pub.stderr
user-defined-macro-rules.rs
using-target-feature-unstable.rs
utf8-bom.rs
utf8.rs
utf8_chars.rs
utf8_idents-rpass.rs
utf8_idents.rs
utf8_idents.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
variance-intersection-of-ref-and-opt-ref.rs
variance-iterators-in-libcore.rs Add a test to ensure Fuse stays covariant 2020-06-01 17:47:26 -07:00
vector-cast-weirdness.rs
vector-cast-weirdness.stderr
vector-no-ann.rs
vector-no-ann.stderr Add more context for type parameters 2019-12-11 17:18:43 -08:00
volatile-fat-ptr.rs
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
wait-forked-but-failed-child.rs
walk-struct-literal-with.rs
walk-struct-literal-with.stderr Use fn_span to point to the actual method call 2020-06-11 18:10:13 -04:00
warn-ctypes-inhibit.rs
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
weak-lang-item.rs
weak-new-uninhabited-issue-48493.rs
weird-exit-code.rs
weird-exprs.rs update tests 2020-03-31 19:01:49 +02:00
wf-bound-region-in-object-type.rs
while-let.rs
while-let.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
while-type-error.rs
while-type-error.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
wrapping-int-api.rs Ignore overflow lint on 32-bit platform 2020-01-01 12:31:36 -05:00
wrapping-int-combinations.rs
write-fmt-errors.rs
write-to-static-mut-in-static.rs
write-to-static-mut-in-static.stderr bless you 2020-03-24 08:27:46 +01:00
writealias.rs
writing-to-immutable-vec.rs
writing-to-immutable-vec.stderr
wrong-hashset-issue-42918.rs
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr Tweak output for mismatched impl item 2020-05-27 16:28:20 -07:00
wrong-ret-type.rs
wrong-ret-type.stderr Emit coercion suggestions in more places 2019-12-03 21:51:16 -05:00
x86stdcall.rs
x86stdcall2.rs
xc-private-method.rs update tests 2020-03-12 15:47:36 -05:00
xc-private-method.stderr Use more targetted span for error label 2020-03-22 16:09:42 -07:00
xc-private-method2.rs update tests 2020-03-12 15:47:36 -05:00
xc-private-method2.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
yield.rs
yield1.rs
yield2.rs
z-crate-attr.rs