rust/src/test/ui
Matthias Krüger 5d2928f7b9
Rollup merge of #88642 - c410-f3r:let_chains_2, r=matthewjasper
Formally implement let chains

## Let chains

My longest and hardest contribution since #64010.

Thanks to `@Centril` for creating the RFC and special thanks to `@matthewjasper` for helping me since the beginning of this journey. In fact, `@matthewjasper` did much of the complicated MIR stuff so it's true to say that this feature wouldn't be possible without him. Thanks again `@matthewjasper!`

With the changes proposed in this PR, it will be possible to chain let expressions along side local variable declarations or ordinary conditional expressions. In other words, do much of what the `if_chain` crate already does.

## Other considerations

* `if let guard` and `let ... else` features need special care and should be handled in a following PR.

* Irrefutable patterns are allowed within a let chain context

* ~~Three Clippy lints were already converted to start dogfooding and help detect possible corner cases~~

cc #53667
2022-01-19 10:42:12 +01:00
..
abi Migrate abi-sysv64 abi-sysv64-register-usage test to asm! 2022-01-12 18:51:32 +01:00
alloc-error Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
allocator Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
annotate-snippet Bless tests 2021-10-15 02:36:58 -05:00
anon-params Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
array-slice-vec Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
asm Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
associated-consts Update with final comments 2022-01-17 20:04:37 +00:00
associated-item Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
associated-type-bounds Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
associated-types Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakis 2022-01-15 02:25:14 +01:00
ast-json Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
async-await Normalize generator-local types with unevaluated constants 2022-01-06 19:08:04 -08:00
attributes Add a lint for duplicated attributes. 2021-12-15 23:43:13 +01:00
auto-traits extend simplify_type 2021-12-14 13:32:42 +01:00
autoref-autoderef Add new tests, fix up old tests 2022-01-12 08:28:41 -08:00
auxiliary Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
bench
binding Rollup merge of #91718 - RalfJung:unaligned_references, r=nagisa 2021-12-11 16:02:49 +01:00
binop test should pass 😅 2021-12-14 01:19:10 +03:00
blind Modify structured suggestion output 2021-08-11 09:46:24 +00:00
block-result Bless tests 2021-10-15 02:36:58 -05:00
borrowck Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
box Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
btreemap
builtin-superkinds Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
c-variadic Rollup merge of #92360 - jackh726:param-heuristics-1, r=davidtwco 2022-01-06 12:01:02 +01:00
cast Rollup merge of #91245 - cameron1024:suggest-i32-u32-char-cast, r=nagisa 2021-12-08 23:18:03 +01:00
cfg Future compatibility warning on cfg_attr on crate_type and crate_name 2021-12-07 11:47:21 -05:00
chalkify Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
closure-expected-type Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
closure_context
closures Flatten InferredCaptureInformation 2022-01-07 22:55:36 +00:00
cmse-nonsecure Align multiline messages to their label (add left margin) 2021-11-20 19:19:33 +00:00
codegen Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
codemap_tests Suggest using a temporary variable to fix borrowck errors 2021-12-10 14:34:00 -08:00
coercion Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
coherence manually implement Hash for DefId 2021-12-10 00:40:41 +01:00
command Revert "Do not call getpid wrapper after fork in tests" 2021-11-05 14:49:26 -07:00
compare-method Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
conditional-compilation Emit an error for --cfg=) 2022-01-01 05:21:36 +01:00
confuse-field-and-method Modify structured suggestion output 2021-08-11 09:46:24 +00:00
const-generics Rollup merge of #92780 - b-naber:postpone-const-eval-coherence, r=lcnr 2022-01-18 22:00:47 +01:00
const-ptr Avoid using the copy_nonoverlapping wrapper through mem::replace. 2021-08-08 13:59:36 +03:00
const_prop Bump mir-opt-level from 2 to 3 in tests 2021-03-05 17:13:57 -03:00
consts Rollup merge of #92997 - woppopo:test92114, r=Mark-Simulacrum 2022-01-18 04:42:09 +01:00
crate-loading Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
cross Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
cross-crate Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
custom_test_frameworks Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
cycle-trait Improve errors for recursive type aliases 2021-08-21 18:30:25 -07:00
definition-reachable
dep-graph Support incremental in compiletest for non-incremental modes. 2021-09-23 12:16:51 -07:00
deprecation Auto merge of #87337 - jyn514:lint-error, r=oli-obk,flip1995 2021-11-09 08:21:10 +00:00
derived-errors
derives Rollup merge of #91544 - rukai:91492, r=wesleywiser 2021-12-23 00:28:51 +01:00
deriving Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
dest-prop Bump mir-opt-level from 2 to 3 in tests 2021-03-05 17:13:57 -03:00
destructuring-assignment Auto merge of #91962 - matthiaskrgr:rollup-2g082jw, r=matthiaskrgr 2021-12-15 12:41:42 +00:00
did_you_mean Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r=nagisa 2022-01-17 06:08:15 +01:00
directory_ownership Bless tests 2021-10-15 02:36:58 -05:00
disallowed-deconstructing
discrim Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
dollar-crate Bless tests 2021-10-15 02:36:58 -05:00
drop Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
drop-bounds Bless src/test/ui/drop-bounds/drop-bounds.rs 2021-06-30 18:06:11 +02:00
dropck Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
dst Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
duplicate Modify structured suggestion output 2021-08-11 09:46:24 +00:00
dyn-drop feat(rustc_lint): add dyn_drop 2021-07-18 07:55:57 -07:00
dyn-keyword Bless tests. 2021-12-04 23:13:58 +01:00
dynamically-sized-types Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
editions Use multipart suggestions. 2021-12-04 23:13:58 +01:00
empty Auto merge of #88681 - ehuss:duplicate-attributes, r=petrochenkov 2021-11-22 02:15:25 +00:00
entry-point Fix printing unit return ty, don't elaborate FnOnce unless we see it 2021-11-23 11:05:07 -08:00
enum Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
enum-discriminant Disallow non-c-like but "fieldless" ADTs from being casted to integer... 2021-12-01 19:59:15 +00:00
error-codes Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
errors emitter: current substitution can be multi-line 2021-10-15 15:30:43 +00:00
explicit Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
expr Formally implement let chains 2022-01-18 19:38:17 -03:00
extenv Bless tests 2021-10-15 02:36:58 -05:00
extern Auto merge of #91769 - estebank:type-trait-bound-span-2, r=oli-obk 2021-12-11 21:57:19 +00:00
extern-flag Suggest to specify a target triple when eh_personality lang item is missing 2021-12-14 00:04:15 +11:00
feature-gates Rollup merge of #90782 - ricobbe:binutils-dlltool, r=michaelwoerister 2022-01-18 22:00:42 +01:00
fmt Fix span calculation on secondary_label as well 2021-12-09 09:09:39 -08:00
fn Add another regression test for unnormalized fn args with Self 2021-12-14 10:35:31 -05:00
for Simplify for loop desugar 2021-11-21 08:15:21 -06:00
for-loop-while Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
foreign Add regression test 2022-01-05 15:22:22 -08:00
fully-qualified-type On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
function-pointer Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
functional-struct-update
functions-closures
generator Include rustc version in rustc_span::StableCrateId 2021-12-13 10:24:05 -06:00
generic-associated-types Rollup merge of #92710 - jackh726:issue-92280, r=nikomatsakis 2022-01-16 16:58:17 +01:00
generics bless tests 2021-12-10 19:21:25 +00:00
half-open-range-patterns Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
hashmap Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
hello_world
higher-rank-trait-bounds Remove all migrate.nll.stderr files 2021-11-30 12:05:34 +11:00
hr-subtype Refactor variance diagnostics to work with more types 2021-12-29 18:53:40 -05:00
hrtb Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
hygiene Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
impl-header-lifetime-elision Tweak wording 2021-12-10 03:08:25 +00:00
impl-trait Fix typo in "new region bound" suggestion 2021-12-17 02:33:25 +00:00
imports Rollup merge of #91770 - TaKO8Ki:suggest-adding-cfg-test, r=joshtriplett 2021-12-21 08:33:39 +01:00
in-band-lifetimes Tighten span when suggesting lifetime on path 2021-12-27 23:34:52 -08:00
include-macros Add regression test for #85955. 2021-06-21 13:38:46 +02:00
inference Don't use source-map when detecting struct field shorthand 2022-01-14 20:34:38 -08:00
infinite Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
inherent-impls-overlap-check Deduplicate regions ids before merging them 2021-10-13 00:00:00 +00:00
inline-const Evaluate inline const pat early and report error if too generic 2021-12-05 21:38:37 +00:00
interior-mutability Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
internal Bless tests 2021-10-15 02:36:58 -05:00
intrinsics Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
invalid Check for macros in built-in attributes that don't support them. 2021-09-25 09:03:15 -07:00
invalid-compile-flags Review comments 2021-12-01 15:56:59 +00:00
invalid-module-declaration E0583: Include secondary path in error message 2021-05-06 09:40:05 +08:00
invalid-self-argument
issues Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieu 2022-01-17 09:40:29 +00:00
iterators Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
keyword Explain why Self is invalid in generic parameters 2021-10-19 23:00:18 +09:00
kindck Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
label Modify structured suggestion output 2021-08-11 09:46:24 +00:00
lang-items Add a regression test for #87573 2021-11-17 03:52:38 +09:00
layout Align multiline messages to their label (add left margin) 2021-11-20 19:19:33 +00:00
let-else let-else: add deref-coercion tests 2021-12-13 14:02:41 +11:00
lexer Move some tests to more reasonable directories 2021-11-25 08:11:01 -03:00
lifetimes Update references to -Z symbol-mangling-version to use -C 2022-01-01 15:53:11 -08:00
limits Fix a format_args span to be expansion 2021-10-29 17:13:15 -05:00
linkage-attr Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
lint Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
liveness Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
loops Fix a format_args span to be expansion 2021-10-29 17:13:15 -05:00
lto Include rustc version in rustc_span::StableCrateId 2021-12-13 10:24:05 -06:00
lub-glb Don't anonymize bound region names during typeck 2021-09-25 13:04:00 -05:00
macro_backtrace Bless tests 2021-10-15 02:36:58 -05:00
macros Rollup merge of #91150 - dtolnay:qpath, r=davidtwco 2022-01-18 22:00:43 +01:00
malformed Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07:00
manual Add first cut of functionality for #58713: support for #[link(kind = "raw-dylib")]. 2021-06-04 18:01:35 -07:00
marker_trait_attr Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
match Move PatKind::Lit checking from ast_validation to ast lowering 2022-01-01 15:10:43 -05:00
meta Auto merge of #87915 - estebank:fancy-spans, r=oli-obk 2021-09-13 16:31:12 +00:00
methods manually implement Hash for DefId 2021-12-10 00:40:41 +01:00
mir Formally implement let chains 2022-01-18 19:38:17 -03:00
mir-dataflow Remove MaybeMutBorrowedLocals 2021-11-03 16:43:12 +01:00
mismatched_types UI test updates for Result and Option method moves 2021-12-30 11:15:50 -08:00
missing Suggest to specify a target triple when eh_personality lang item is missing 2021-12-14 00:04:15 +11:00
missing-trait-bounds Move tests for missing trait bounds to their own directory 2021-11-20 19:19:34 +00:00
missing_non_modrs_mod E0583: Include secondary path in error message 2021-05-06 09:40:05 +08:00
modules Clarify error messages caused by re-exporting pub(crate) visibility to outside 2021-11-20 10:47:33 +09:00
modules_and_files_visibility use full path for E0761 2021-05-03 18:57:48 +08:00
moves Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillot 2021-11-28 23:45:15 +01:00
mut Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
namespace Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
native-library-link-flags Don't allow both the +bundle and +whole-archive modifiers for rlibs 2021-08-30 11:51:27 +02:00
never_type Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
nll Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakis 2022-01-15 02:25:14 +01:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
numbers-arithmetic Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
numeric Remove incorrect newline from float cast suggestion 2021-12-03 01:00:09 +00:00
object-lifetime Tweak wording 2021-12-10 03:08:25 +00:00
object-safety Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
obsolete-in-place feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
on-unimplemented Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
operator-recovery Recover on invalid operators <> and <=> 2021-12-14 18:05:02 +01:00
or-patterns Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
overloaded Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
packed give more help in the unaligned_references lint 2021-12-09 16:48:51 -05:00
packed-struct
panic-handler Suggest to specify a target triple when eh_personality lang item is missing 2021-12-14 00:04:15 +11:00
panic-runtime Use existing declaration of rust_eh_personality 2021-07-10 15:43:05 +02:00
panics Change panic::update_hook to simplify usage 2022-01-08 00:57:59 +01:00
parser Add term to ExistentialProjection 2022-01-17 20:01:22 +00:00
pattern Formally implement let chains 2022-01-18 19:38:17 -03:00
polymorphization Update references to -Z symbol-mangling-version to use -C 2022-01-01 15:53:11 -08:00
print-fuel
print_type_sizes print-type-sizes: skip field printing for primitives 2021-09-28 00:00:00 +00:00
privacy fix: set struct/union/enum fields/variants as reachable when item is 2022-01-14 02:59:16 +00:00
proc-macro expand: Pick cfgs and cfg_attrs one by one, like other attributes 2022-01-10 18:11:44 +08:00
process Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
process-termination Don't run a publically reachable server in tests 2021-06-27 09:53:27 -04:00
pub Modify structured suggestion output 2021-08-11 09:46:24 +00:00
qualified
query-system Add a regression test for issue-83479 2021-10-20 11:09:06 +09:00
range Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
raw-ref-op
reachable Simplify for loop desugar 2021-11-21 08:15:21 -06:00
recursion Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
recursion_limit Bless tests 2021-10-15 02:36:58 -05:00
regions Refactor variance diagnostics to work with more types 2021-12-29 18:53:40 -05:00
repr Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
reserved Modify structured suggestion output 2021-08-11 09:46:24 +00:00
resolve Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
return Add regression test for #92308 2021-12-28 19:43:36 -06:00
rfc-0107-bind-by-move-pattern-guards
rfc-1445-restrict-constants-in-patterns Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
rfc-1717-dllimport Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
rfc-1937-termination-trait Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
rfc-2005-default-binding-mode Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
rfc-2008-non-exhaustive Demonstration test for #91161 2021-11-26 19:27:40 -08:00
rfc-2027-object-safe-for-dispatch
rfc-2091-track-caller Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
rfc-2093-infer-outlives Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths diagnostics: Differentiate between edition meanings of ::foo in resolve diagnostics (for bare ::foo) 2021-03-07 14:21:48 -08:00
rfc-2294-if-let-guard Formally implement let chains 2022-01-18 19:38:17 -03:00
rfc-2306
rfc-2361-dbg-macro Change Debug unimplemented message per request 2021-06-22 00:38:31 -07:00
rfc-2457 Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
rfc-2497-if-let-chains Formally implement let chains 2022-01-18 19:38:17 -03:00
rfc-2565-param-attrs Pretty print empty blocks as {} 2021-12-01 13:50:13 -08:00
rfc-2627-raw-dylib Rollup merge of #90782 - ricobbe:binutils-dlltool, r=michaelwoerister 2022-01-18 22:00:42 +01:00
rfc-2632-const-trait-impl Add test 2022-01-11 23:52:24 +08:00
rfcs add test files 2021-12-20 10:39:02 +08:00
rmeta
runtime Use black_box intrinsic in out-of-stack test 2022-01-12 18:51:31 +01:00
rust-2018 Improve suggestion for extern crate self error message 2021-12-01 21:59:54 +00:00
rust-2021 Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
rustdoc Add test for merged features 2021-11-24 21:57:18 +01:00
sanitize Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
save-analysis Remove min_tait and full_tait stderr dangling files 2021-07-27 19:50:14 -03:00
self Fix typo in "new region bound" suggestion 2021-12-17 02:33:25 +00:00
sepcomp Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
shadowed Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
simd Add pointer-sized integer tests 2022-01-04 01:45:42 +00:00
single-use-lifetime Modify structured suggestion output 2021-08-11 09:46:24 +00:00
span Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasper 2022-01-15 14:43:45 +00:00
specialization Update term for use in more places 2022-01-17 19:59:40 +00:00
stability-attribute Bless tests. 2022-01-12 23:41:28 +01:00
stack-protector add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
static Account for type obligation coming from const and static 2021-11-25 18:04:33 +00:00
statics Move the issue-91050 tests to appease tidy 2021-11-20 17:02:37 -08:00
stdlib-unit-tests Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
str Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
structs Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
structs-enums Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
suggestions Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r=nagisa 2022-01-17 06:08:15 +01:00
svh Enable svh tests on msvc 2021-12-01 02:05:17 +00:00
symbol-names Update references to -Z symbol-mangling-version to use -C 2022-01-01 15:53:11 -08:00
target-feature Auto merge of #79608 - alessandrod:bpf, r=nagisa 2021-06-06 01:02:32 +00:00
terminal-width Modify structured suggestion output 2021-08-11 09:46:24 +00:00
test-attrs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
thread-local Move some tests to more reasonable directories 2021-09-15 14:03:27 -03:00
threads-sendsync Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
tool-attributes Don't confuse the user with notes about tool modules. 2021-08-23 16:57:59 +02:00
trait-bounds Add regression test for #75961 2021-10-27 07:46:42 +02:00
traits Rollup merge of #92164 - WaffleLapkin:rustc_must_implement_one_of_attr, r=Aaron1011 2022-01-17 20:07:02 +01:00
transmute
treat-err-as-bug Set RUST_BACKTRACE=0 when running treat-err-as-bug tests 2021-02-22 21:07:40 -05:00
trivial-bounds Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
try-block Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillot 2021-11-28 23:45:15 +01:00
try-trait Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
tuple Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
type Tweak assoc type obligation spans 2021-12-11 02:32:15 +00:00
type-alias
type-alias-enum-variants Suggest removal of arguments for unit variant, not replacement 2021-11-16 20:40:35 +00:00
type-alias-impl-trait Rollup merge of #92006 - oli-obk:welcome_opaque_types_into_the_fold, r=nikomatsakis 2022-01-13 08:11:19 +01:00
type-inference Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
typeck Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
typeof Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
ufcs Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
unboxed-closures Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
underscore-imports Bless tests. 2021-09-02 19:08:59 +02:00
underscore-lifetime Tweak wording 2021-12-10 03:08:25 +00:00
uniform-paths Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
uninhabited Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
union use try_normalize_erasing_regions in needs_drop 2021-12-02 23:27:08 +01:00
unique Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unresolved
unsafe Remove ui tests for LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
unsized bless ui test 2021-12-25 01:33:13 +08:00
unsized-locals fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
unused-crate-deps Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
unwind-abis Replace per-target ABI denylist with an allowlist 2021-07-06 13:12:15 +03:00
use Rollup merge of #90131 - camsteffen:fmt-args-span-fix, r=cjgillot 2021-11-28 23:45:15 +01:00
variance Refactor variance diagnostics to work with more types 2021-12-29 18:53:40 -05:00
variants Modify structured suggestion output 2021-08-11 09:46:24 +00:00
wasm Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
wf extend simplify_type 2021-12-14 13:32:42 +01:00
where-clauses Point at source of trait bound obligations in more places 2021-11-20 18:54:31 +00:00
xcrate Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
zero-sized
.gitattributes
alias-uninit-value.rs
align-with-extern-c-fn.rs
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
arg-count-mismatch.rs
arg-count-mismatch.stderr
arg-type-mismatch.rs
arg-type-mismatch.stderr
artificial-block.rs
as-precedence.rs
assign-assign.rs
assign-imm-local-twice.rs Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
assign-imm-local-twice.stderr Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
assoc-inherent.rs Add feature gate for inherent associate types. 2021-02-25 14:10:25 +01:00
assoc-inherent.stderr Add feature gate for inherent associate types. 2021-02-25 14:10:25 +01:00
assoc-lang-items.rs
assoc-lang-items.stderr
assoc-oddities-3.rs
associated-path-shl.rs
associated-path-shl.stderr
atomic-from-mut-not-available.rs
atomic-from-mut-not-available.stderr
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-shebang.rs
attr-start.rs
attr-usage-inline.rs
attr-usage-inline.stderr
attrs-resolution-errors.rs
attrs-resolution-errors.stderr
attrs-resolution.rs
augmented-assignments-feature-gate-cross.rs
augmented-assignments-rpass.rs
augmented-assignments.rs
augmented-assignments.stderr
auto-instantiate.rs
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr change from review and show full type if it can be deref 2021-05-22 12:38:48 +02:00
autoderef-full-lval.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
autoderef-full-lval.stderr
backtrace-apple-no-dsymutil.rs
backtrace.rs
bare-fn-implements-fn-mut.rs
bare-static-string.rs
big-literals.rs
bind-by-move.rs
bitwise.rs
blind-item-local-shadow.rs
bogus-tag.rs
bogus-tag.stderr
borrow-by-val-method-receiver.rs
bounds-lifetime.rs
bounds-lifetime.stderr
break-diverging-value.rs
break-diverging-value.stderr
builtin-clone-unwind.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
can-copy-pod.rs
cancel-clean-via-immediate-rvalue-ref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
cannot-mutate-captured-non-mut-var.rs
cannot-mutate-captured-non-mut-var.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
capture1.rs
capture1.stderr
catch-unwind-bang.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
cenum_impl_drop_cast.rs
cenum_impl_drop_cast.stderr
cfguard-run.rs
char.rs
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr
check-static-recursion-foreign.rs
check-static-values-constraints.rs
check-static-values-constraints.stderr
class-cast-to-trait.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
class-cast-to-trait.stderr change from review and show full type if it can be deref 2021-05-22 12:38:48 +02:00
class-method-missing.rs
class-method-missing.stderr
cleanup-rvalue-for-scope.rs
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
cleanup-rvalue-scopes.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
cleanup-rvalue-temp-during-incomplete-alloc.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
cleanup-shortcircuit.rs add test 2021-04-07 19:23:17 +02:00
close-over-big-then-small-data.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
command-line-diagnostics.rs
command-line-diagnostics.stderr Compiler error messages: reduce assertiveness of message E0384 2021-04-12 23:29:09 +01:00
commandline-argfile-badutf8.args
commandline-argfile-badutf8.rs
commandline-argfile-badutf8.stderr
commandline-argfile-missing.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
commandline-argfile-missing.stderr
commandline-argfile.args
commandline-argfile.rs
compile_error_macro.rs
compile_error_macro.stderr Bless tests 2021-10-15 02:36:58 -05:00
complex.rs
conflicting-repr-hints.rs Layout error instead of an ICE for packed and aligned types 2021-07-15 18:17:27 +02:00
conflicting-repr-hints.stderr Layout error instead of an ICE for packed and aligned types 2021-07-15 18:17:27 +02:00
conservative_impl_trait.rs
conservative_impl_trait.stderr
constructor-lifetime-args.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
constructor-lifetime-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
continue-after-missing-main.nll.stderr
continue-after-missing-main.rs
continue-after-missing-main.stderr
copy-a-resource.rs
copy-a-resource.stderr Suggest box/pin/arc ing receiver on method calls 2021-03-29 18:14:44 -07:00
crate-leading-sep.rs
crate-method-reexport-grrrrrrr.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
crate-name-attr-used.rs
crate-name-mismatch.rs
crate-name-mismatch.stderr
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs
custom_attribute.rs
custom_attribute.stderr
debuginfo-emit-llvm-ir-and-split-debuginfo.rs
deduplicate-diagnostics.deduplicate.stderr
deduplicate-diagnostics.duplicate.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
deduplicate-diagnostics.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
deep.rs
default-method-parsing.rs
default-method-simple.rs
defaults-well-formedness.rs
deprecation-in-force-unstable.rs
deref-non-pointer.rs
deref-non-pointer.stderr
deref-rc.rs
deref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
derive-uninhabited-enum-38885.rs
derive-uninhabited-enum-38885.stderr
destructure-trait-ref.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
destructure-trait-ref.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
disambiguate-identical-names.rs
disambiguate-identical-names.stderr
diverging-fallback-method-chain.rs
diverging-fallback-option.rs
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr
double-ref.rs
double-type-import.rs
double-type-import.stderr
dupe-first-attr.rc
duplicate_entry_error.rs
duplicate_entry_error.stderr
early-ret-binop-add.rs
elide-errors-on-mismatched-tuple.rs
elide-errors-on-mismatched-tuple.stderr
elided-test.rs
elided-test.stderr
else-if.rs
empty-allocation-non-null.rs
empty-allocation-rvalue-non-null.rs
empty-type-parameter-list.rs
empty_global_asm.rs Fix unused import in test 2021-12-12 21:11:15 +00:00
env-args-reverse-iterator.rs
env-funky-keys.rs
env-null-vars.rs
env-vars.rs
error-festival.rs
error-festival.stderr Consider unfulfilled obligations in binop errors 2021-10-05 23:34:13 +00:00
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
exec-env.rs
explain.rs
explain.stdout
explicit-i-suffix.rs
explore-issue-38412.rs
explore-issue-38412.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
expr-block-fn.rs
expr-block-generic-unique1.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-block-generic-unique2.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-block-generic.rs
expr-block.rs
expr-copy.rs
expr-if-generic.rs
expr-if-panic-all.rs
expr-if-unique.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
expr-scope.rs
ext-expand-inner-exprs.rs
ext-nonexistent.rs
ext-nonexistent.stderr
extoption_env-no-args.rs
extoption_env-no-args.stderr Bless tests 2021-10-15 02:36:58 -05:00
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 Bless tests 2021-10-15 02:36:58 -05:00
fact.rs
fail-simple.rs
fail-simple.stderr
ffi_const.rs
ffi_const.stderr
ffi_const2.rs
ffi_const2.stderr Add long explanation for E0757 2021-07-21 13:31:47 +01:00
ffi_pure.rs
ffi_pure.stderr
ffi_returns_twice.rs
ffi_returns_twice.stderr
filter-block-view-items.rs
fn-in-pat.rs
fn-in-pat.stderr
foreign-fn-return-lifetime.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
foreign-unsafe-fn-called.mir.stderr Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
foreign-unsafe-fn-called.rs Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
foreign-unsafe-fn-called.thir.stderr Test -Zthir-unsafeck for unsafe function calls 2021-05-11 20:35:38 +02:00
format-no-std.rs
fun-indirect-call.rs
future-incompatible-lint-group.rs Only include lint in future_incompatible lint group if not an edition lint 2021-06-28 16:40:46 +02:00
future-incompatible-lint-group.stderr Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
global-scope.rs
hello.rs
hello2021.rs Clean up some -Z unstable-options in tests. 2021-11-03 20:00:00 -07:00
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
illegal-ufcs-drop.fixed
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr
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-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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
impossible_range.fixed
impossible_range.rs
impossible_range.stderr
inc-range-pat.rs
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 Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
infer-fn-tail-expr.rs
inherit-env.rs
inline-disallow-on-variant.rs
inline-disallow-on-variant.stderr
inlined-main.rs
inner-attrs-on-impl.rs
inner-module.rs
inner-static-type-parameter.rs
inner-static-type-parameter.stderr Add help message for unused type param 2021-05-01 21:58:06 +00:00
inner-static.rs
integral-indexing.rs
integral-indexing.stderr
integral-variable-unification-error.rs On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
integral-variable-unification-error.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
intrinsics-always-extern.rs
intrinsics-always-extern.stderr
invalid_crate_type_syntax.rs
invalid_crate_type_syntax.stderr Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07:00
invalid_dispatch_from_dyn_impls.rs
invalid_dispatch_from_dyn_impls.stderr
issue-76387-llvm-miscompile.rs
issues-71798.rs
issues-71798.stderr Update .stderr files 2021-12-02 16:12:25 -08:00
item-name-overload.rs
json-and-color.rs
json-and-color.stderr
json-and-error-format.rs
json-and-error-format.stderr
json-bom-plus-crlf-multifile-aux.rs
json-bom-plus-crlf-multifile.rs
json-bom-plus-crlf-multifile.stderr Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
json-bom-plus-crlf.rs
json-bom-plus-crlf.stderr Use multispan suggestions more often 2021-07-30 09:26:31 -07:00
json-invalid.rs
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
json-short.stderr
kinds-in-metadata.rs
kinds-of-primitive-impl.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
kinds-of-primitive-impl.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
lambda-infer-unresolved.rs
last-use-in-block.rs
last-use-in-cap-clause.rs
last-use-is-capture.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
lazy-and-or.rs
lexical-scopes.rs
lexical-scopes.stderr
lexical-scoping.rs
link-section.rs Make tidy check for magic numbers that spell things 2021-12-31 21:13:07 -08:00
lint-unknown-lints-at-crate-level.rs
list.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
log-err-phi.rs
log-knows-the-names-of-variants.rs
log-poly.rs
logging-only-prints-once.rs
loud_ui.rs
macro-quote-test.rs
main-wrong-location.rs Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
main-wrong-location.stderr Remove #[main] attribute. 2021-04-16 13:04:02 +08:00
main-wrong-type.rs
main-wrong-type.stderr
max-min-classes.rs
maybe-bounds.rs
maybe-bounds.stderr
minus-string.rs
minus-string.stderr
mir-unpretty.rs
mir-unpretty.stderr
missing_debug_impls.rs
missing_debug_impls.stderr
mod-subitem-as-enum-variant.rs
mod-subitem-as-enum-variant.stderr
module-macro_use-arguments.rs
module-macro_use-arguments.stderr
monomorphize-abi-alignment.rs Ignore automatically derived impls of Clone and Debug in dead code analysis 2021-09-09 19:49:07 +02:00
msvc-data-only.rs
multibyte.rs
multiline-comment.rs
multiple-reprs.rs
mut-function-arguments.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
mutexguard-sync.rs
mutexguard-sync.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
mutual-recursion-group.rs
nested-block-comment.rs
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-class.rs
nested-ty-params.rs
nested-ty-params.stderr
new-impl-syntax.rs
new-import-syntax.rs
new-style-constants.rs
new-unicode-escapes.rs
new-unsafe-pointers.rs
newlambdas.rs
newtype-polymorphic.rs
newtype.rs
no-capture-arc.rs
no-capture-arc.stderr
no-core-1.rs
no-core-2.rs
no-link-unknown-crate.rs
no-link-unknown-crate.stderr
no-link.rs Remove effect of #[no_link] attribute on name resolution 2021-12-17 20:14:30 +08:00
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.rs
no-reuse-move-arc.stderr
no-send-res-ports.rs
no-send-res-ports.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
no-warn-on-field-replace-issue-34101.rs
no_crate_type.rs
no_crate_type.stderr Move malformed attribute code to a function and fix inner attribute suggestion. 2021-09-25 08:11:10 -07:00
no_send-enum.rs
no_send-enum.stderr fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
no_send-rc.rs
no_send-rc.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
no_share-enum.rs
no_share-enum.stderr fix(rustc_typeck): report function argument errors on matching type 2021-10-25 12:23:52 -07:00
no_share-struct.rs
no_share-struct.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
noexporttypeexe.rs
noexporttypeexe.stderr
non-constant-expr-for-arr-len.rs
non-constant-expr-for-arr-len.stderr
non-copyable-void.rs
non-copyable-void.stderr Suggest box/pin/arc ing receiver on method calls 2021-03-29 18:14:44 -07:00
non-fmt-panic.fixed Add more assert!() tests for non_fmt_panics. 2021-08-16 17:35:49 +02:00
non-fmt-panic.rs Add more assert!() tests for non_fmt_panics. 2021-08-16 17:35:49 +02:00
non-fmt-panic.stderr Bless tests 2021-10-15 02:36:58 -05:00
non-ice-error-on-worker-io-fail.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
non-ice-error-on-worker-io-fail.stderr
noncopyable-class.rs
noncopyable-class.stderr Suggest box/pin/arc ing receiver on method calls 2021-03-29 18:14:44 -07:00
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
not-copy-closure.rs
not-copy-closure.stderr
not-enough-arguments.rs
not-enough-arguments.stderr
nul-characters.rs
nullable-pointer-iotareduction.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
nullable-pointer-size.rs
object-pointer-types.rs
object-pointer-types.stderr change from review and show full type if it can be deref 2021-05-22 12:38:48 +02:00
objects-coerce-freeze-borrored.rs
occurs-check-2.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
occurs-check-2.stderr Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
occurs-check-3.rs
occurs-check-3.stderr
occurs-check.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
occurs-check.stderr Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-heap.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
op-assign-builtins-by-ref.rs
opeq.rs
opt-in-copy.rs
opt-in-copy.stderr
optimization-fuel-0.rs
optimization-fuel-0.stderr
optimization-fuel-1.rs
optimization-fuel-1.stderr
optimization-remark.rs Accumulate all values of -C remark option 2021-11-29 09:12:01 +01:00
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-pointer-aliasing.rs
output-slot-variants.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
output-type-mismatch.rs
output-type-mismatch.stderr On type mismatch caused by assignment, point at assignee 2021-11-25 18:04:33 +00:00
over-constrained-vregs.rs
panic-while-printing.rs
panic_implementation-closures.rs
paren-span.rs
paren-span.stderr
parenthesized-deref-suggestion.rs
parenthesized-deref-suggestion.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
partialeq_help.rs
partialeq_help.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
path-lookahead.fixed
path-lookahead.rs
path-lookahead.stderr Use more accurate spans for "unused delimiter" lint 2021-09-09 14:24:33 +00:00
path.rs
paths-containing-nul.rs
phantom-auto-trait.rs
phantom-auto-trait.stderr Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
point-to-type-err-cause-on-impl-trait-return-2.rs
point-to-type-err-cause-on-impl-trait-return-2.stderr
pptypedef.rs
pptypedef.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
primitive-binop-lhs-mut.rs
print-stdout-eprint-stderr.rs
project-cache-issue-31849.rs
ptr-coercion-rpass.rs
ptr-coercion.rs
ptr-coercion.stderr
range_inclusive.rs
raw-str.rs
reachable-unnameable-type-alias.rs
realloc-16687.rs
reassign-ref-mut.rs
reassign-ref-mut.stderr
reexport-test-harness-main.rs
reify-intrinsic.rs Change test to use likely/unlikely instead of copy/copy_overlapping. 2021-06-04 16:44:28 -04:00
reify-intrinsic.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
remap-path-prefix.rs Fix remap-path-prefix UI test case. 2021-08-27 12:43:07 +02:00
remap-path-prefix.stderr Fix remap-path-prefix UI test case. 2021-08-27 12:43:07 +02:00
removing-extern-crate.fixed
removing-extern-crate.rs
removing-extern-crate.stderr
repeat-expr-in-static.rs
repeat-to-run-dtor-twice.rs
repeat-to-run-dtor-twice.stderr
repeat_count.rs
repeat_count.stderr Auto merge of #87915 - estebank:fancy-spans, r=oli-obk 2021-09-13 16:31:12 +00:00
repr_c_int_align.rs
resource-assign-is-not-copy.rs
resource-destruct.rs
ret-bang.rs
ret-non-nil.rs
ret-non-nil.stderr
return-disjoint-regions.rs
return-disjoint-regions.stderr
return-nil.rs
rfc1623-2.rs
rfc1623-2.stderr Use more accurate spans when proposing adding lifetime to item 2021-08-18 10:25:15 +00:00
rfc1623.nll.stderr Perform Sync check on static items in wf-check instead of during const checks 2021-11-26 14:22:45 +00:00
rfc1623.rs Perform Sync check on static items in wf-check instead of during const checks 2021-11-26 14:22:45 +00:00
rfc1623.stderr Perform Sync check on static items in wf-check instead of during const checks 2021-11-26 14:22:45 +00:00
rustc-error.rs
rustc-error.stderr
rustc-rust-log.rs Remove comment saying that we don't build debug rustc in CI, since we do 2021-10-18 16:28:09 -07:00
seq-args.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
seq-args.stderr improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
shadow-bool.rs
shadowed-use-visibility.rs
short-error-format.rs
short-error-format.stderr
simple_global_asm.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
single-primitive-inherent-impl.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
single-primitive-inherent-impl.stderr Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
sized-borrowed-pointer.rs
sized-cycle-note.rs
sized-cycle-note.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
sized-owned-pointer.rs
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr Make TyS::is_suggestable more structual 2021-12-14 11:32:06 -08:00
slowparse-bstring.rs
slowparse-string.rs
sse2.rs
stable-addr-of.rs
std-backtrace.rs
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stdio-is-blocking.rs
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr
string-box-error.rs
struct-ctor-mangling.rs
suggest-using-chars.rs suggest &str.chars() on attempt to &str.iter() 2021-11-15 12:37:01 +09:00
suggest-using-chars.stderr suggest &str.chars() on attempt to &str.iter() 2021-11-15 12:37:01 +09:00
super-at-top-level.rs
super-at-top-level.stderr
super-fast-paren-parsing.rs
super.rs
suppressed-error.rs
suppressed-error.stderr
svh-add-nothing.rs
swap-1.rs
swap-overlapping.rs
switched-expectations.rs
switched-expectations.stderr
syntax-extension-minor.rs
tag-that-dare-not-speak-its-name.rs
tag-that-dare-not-speak-its-name.stderr
tag-type-args.rs
tag-type-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
tag-variant-cast-non-nullary.fixed
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-typeck.rs
tail-typeck.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
terr-in-field.rs
terr-in-field.stderr
terr-sorts.rs
terr-sorts.stderr Deduplicate box deref and regular deref suggestions 2022-01-11 21:13:45 -08:00
thir-tree.rs Add test for -Z unpretty=thir-tree 2021-07-24 17:33:43 -04:00
thir-tree.stdout Include rustc version in rustc_span::StableCrateId 2021-12-13 10:24:05 -06:00
thread-local-mutation.rs
thread-local-mutation.stderr
thread-local-static.rs Revert "With the revert of PR 83091, swap is not a const fn anymore." 2021-06-27 12:05:18 +02:00
thread-local-static.stderr add long error explanation for E0625 2021-08-02 23:03:16 -04:00
tool_lints-fail.rs
tool_lints-fail.stderr
tool_lints-rpass.rs
tool_lints.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
tool_lints.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
tool_lints_2018_preview.rs
trailing-comma.rs
trait-impl-bound-suggestions.fixed give full path of constraint in suggest_constraining_type_param 2021-03-31 09:47:31 +08:00
trait-impl-bound-suggestions.rs
trait-impl-bound-suggestions.stderr Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00: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
trivial_casts-rpass.rs
try-from-int-error-partial-eq.rs
try-operator-hygiene.rs
try-operator.rs
tuple-index.rs
tydesc-name.rs
type-id-higher-rank-2.rs
type-namespace.rs
type-param-constraints.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
type-param.rs
type-ptr.rs
type-use-i1-versus-i8.rs
type_length_limit.polonius.stderr bless a few trivial tests under polonius 2021-08-03 20:29:30 +02:00
type_length_limit.rs
type_length_limit.stderr
typeid-intrinsic.rs
typestate-multi-decl.rs
ufcs-polymorphic-paths.rs
ui-testing-optout.rs
ui-testing-optout.stderr
unconstrained-none.rs
unconstrained-none.stderr
unconstrained-ref.rs
unconstrained-ref.stderr
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 Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
uninit-empty-types.rs
unique-object-noncopyable.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unique-object-noncopyable.stderr Revert "Rollup merge of #86011 - tlyu:correct-sized-bound-spans, r=estebank" 2021-10-19 02:33:38 +09:00
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr Suggest deriving traits if possible 2021-09-06 13:18:05 +02:00
unit.rs
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
unknown-lint-tool-name.stderr Don't pass -Z unstable-options by default for UI tests 2021-06-06 00:44:54 -04:00
unknown-llvm-arg.rs
unknown-llvm-arg.stderr
unknown-tool-name.rs
unknown-tool-name.stderr
unnamed_argument_mode.rs
unop-move-semantics.rs
unop-move-semantics.stderr Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
unop-neg-bool.rs
unop-neg-bool.stderr
unpretty-expr-fn-arg.rs Reorder some lines in unpretty-expr-fn-arg.rs 2021-06-26 22:43:27 +02:00
unpretty-expr-fn-arg.stdout Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
unreachable-code-1.rs
unreachable-code.rs
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-pointer-assignability.rs
unsigned-literal-negation.rs
unsigned-literal-negation.stderr
unspecified-self-in-trait-ref.rs Lint bare traits in AstConv. 2021-12-04 23:13:58 +01:00
unspecified-self-in-trait-ref.stderr Use multipart suggestions. 2021-12-04 23:13:58 +01:00
unterminated-comment.rs
unterminated-comment.stderr
unused-move-capture.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unused-move.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unwind-no-uwtable.rs Add needs-unwind to tests 2021-05-06 02:49:34 +00:00
unwind-unique.rs Add needs-unwind to tests that depend on panicking 2021-12-09 22:03:52 +00:00
use-import-export.rs
use-keyword-2.rs
use-module-level-int-consts.rs
use-nested-groups.rs
use.rs
used.rs
used.stderr
user-defined-macro-rules.rs
using-target-feature-unstable.rs
usize-generic-argument-parent.rs
usize-generic-argument-parent.stderr
utf8-bom.rs
utf8_idents.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
variance-intersection-of-ref-and-opt-ref.rs
variance-iterators-in-libcore.rs
wait-forked-but-failed-child.rs Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
walk-struct-literal-with.rs
walk-struct-literal-with.stderr Fix a format_args span to be expansion 2021-10-29 17:13:15 -05:00
wasm-custom-section-relocations.rs
wasm-custom-section-relocations.stderr
weak-lang-item.rs
weak-new-uninhabited-issue-48493.rs Add #[must_use] to alloc constructors 2021-10-10 02:19:30 -04:00
weird-exit-code.rs
weird-exprs.rs Stabilize destructuring_assignment 2021-12-14 22:38:51 -05:00
while-type-error.rs
while-type-error.stderr
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
write-fmt-errors.rs Rename ErrorKind::Unknown to Uncategorized. 2021-06-15 14:30:13 +02:00
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 Suggest return type 2021-04-08 15:27:43 -07:00
wrong-ret-type.rs
wrong-ret-type.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
xc-private-method.rs
xc-private-method.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
xc-private-method2.rs
xc-private-method2.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
z-crate-attr.rs