rust/src/test/ui
Dylan DPC e96304b73d
Rollup merge of #95973 - oli-obk:tait_ub3, r=compiler-errors
prevent opaque types from appearing in impl headers

cc `@lqd`

opaque types are not distinguishable from their hidden type at the codegen stage. So we could either end up with cases where the hidden type doesn't implement the trait (which will thus ICE) or where the hidden type does implement the trait (so we'd be using its impl instead of the one written for the opaque type). This can even lead to unsound behaviour without unsafe code.

Fixes https://github.com/rust-lang/rust/issues/86411.
Fixes https://github.com/rust-lang/rust/issues/84660.

rebase of #87382 plus some diagnostic tweaks
2022-04-12 23:17:01 +02:00
..
abi Remove duplicated test files 2022-03-27 09:19:34 -03:00
alloc-error Cleanup feature gates. 2022-03-03 18:50:28 +01:00
allocator Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +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 Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
asm Rollup merge of #95553 - jam1garner:naked-function-compile-error, r=tmiasko 2022-04-03 23:21:42 +02:00
associated-consts separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
associated-item Improve method name suggestions 2022-04-03 16:38:57 +01:00
associated-type-bounds better error for binder on associated type bound 2022-04-10 16:41:15 -07:00
associated-types Rollup merge of #95654 - notriddle:notriddle/issue-95616, r=davidtwco 2022-04-05 15:56:50 +02:00
ast-json Adjusted diagnostic output so that if there is no use in a item sequence, 2022-03-03 18:58:37 -05:00
async-await diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
attributes Auto merge of #93142 - estebank:missing-main, r=wesleywiser 2022-03-05 02:46:24 +00:00
auto-traits Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
autoref-autoderef Filter OnceNote in diagnostic infra. 2022-03-20 20:36:26 +01:00
auxiliary Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
bench
binding Rollup merge of #91718 - RalfJung:unaligned_references, r=nagisa 2021-12-11 16:02:49 +01:00
binop Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
blind Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
block-result only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
borrowck suggest adding a local for vector to fix borrowck errors 2022-04-08 23:17:57 +09:00
box Add ThinBox type for 1 stack pointer sized heap allocated trait objects 2022-04-08 09:00:16 -07:00
btreemap
builtin-superkinds Use note to point at bound introducing requirement 2021-08-16 17:47:22 +00:00
c-variadic Format invariance notes with backticks 2022-04-04 20:26:31 -07:00
cast use find_ancestor_inside to get right span in CastCheck 2022-04-10 22:15:31 -07:00
cfg Rollup merge of #94295 - Urgau:cfg-always-eval-all-predicate, r=petrochenkov 2022-03-18 21:50:46 +01:00
chalkify Dedup logic and improve output for other types that impl trait 2022-04-04 21:06:35 +00:00
check-cfg Extend --check-cfg tests to all predicate inside all/any 2022-03-19 10:23:09 +01:00
closure-expected-type Remove textual span from diagnostic string 2021-10-13 10:53:44 +00:00
closure_context
closures only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
cmse-nonsecure short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
codegen Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
codemap_tests Add more *-unwind ABI variants 2022-02-02 22:21:24 +01:00
coercion only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
coherence Auto merge of #95082 - spastorino:overlap-inherent-impls, r=nikomatsakis 2022-03-25 09:09:48 +00: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 Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
confuse-field-and-method Modify structured suggestion output 2021-08-11 09:46:24 +00:00
const-generics Rollup merge of #95820 - OliverMD:95150, r=lcnr 2022-04-12 22:44:43 +10:00
const-ptr normalization change and rebase 2022-03-09 11:33:11 +01:00
const_prop separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
consts Auto merge of #93408 - liangyongrui:master, r=scottmcm 2022-04-12 00:18:51 +00: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 duplicated and unused test files 2022-03-28 10:16:32 -03: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
debuginfo Auto merge of #95056 - Dylan-DPC:rollup-swtuw2n, r=Dylan-DPC 2022-03-18 00:35:19 +00:00
definition-reachable
dep-graph Support incremental in compiletest for non-incremental modes. 2021-09-23 12:16:51 -07:00
deprecation Include tracking issue in diagnostic 2022-03-15 19:38:57 -04:00
derived-errors
derives Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
deriving Update chalk tests 2022-02-12 13:39:52 +00:00
dest-prop
destructuring-assignment Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
did_you_mean Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00: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 Revert "Auto merge of #91403 - cjgillot:inherit-async, r=oli-obk" 2022-02-17 16:00:04 +00: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 diagnostics: only talk about Cargo.toml if running under Cargo 2022-03-07 10:54:17 -07:00
empty Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
entry-point Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00: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 --bless tests 2022-04-10 16:45:09 +04: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 resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08: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 Split fuzzy_provenance_casts into lossy and fuzzy, feature gate and test it 2022-04-08 17:41:28 +02:00
fmt Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
fn Rollup merge of #92467 - Aaron1011:extern-local-region, r=oli-obk 2022-01-21 22:03:12 +01: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 Do not suggest "is a function" for free variables 2022-02-16 09:12:32 -07:00
generator Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00:00
generic-associated-types Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
generics diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
half-open-range-patterns Debug print char 0 as '\0' rather than '\u{0}' 2022-03-27 04:49:10 -07:00
hashmap Use larger span for adjustments on method calls 2021-09-25 10:00:41 -05:00
hello_world
higher-rank-trait-bounds Auto merge of #95031 - compiler-errors:param-env-cache, r=Aaron1011 2022-04-04 04:48:36 +00:00
hr-subtype Format invariance notes with backticks 2022-04-04 20:26:31 -07:00
hrtb Rollup merge of #95102 - compiler-errors:issue-94034-bug, r=jackh726 2022-04-08 11:48:21 +02:00
hygiene Only suggest adding ! to expressions that can be macro invocation 2022-01-19 18:00:10 +00:00
impl-header-lifetime-elision Update ui test with the add of E0726 explanation 2022-02-28 15:51:05 +01:00
impl-trait Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
implied-bounds nit 2022-02-08 07:26:07 +01:00
imports Rollup merge of #91770 - TaKO8Ki:suggest-adding-cfg-test, r=joshtriplett 2021-12-21 08:33:39 +01:00
include-macros Add regression test for #85955. 2021-06-21 13:38:46 +02:00
inference Cleanup feature gates. 2022-03-03 18:50:28 +01:00
infinite Filter OnceNote in diagnostic infra. 2022-03-20 20:36:26 +01: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 Rollup merge of #95374 - RalfJung:assert_uninit_valid, r=Mark-Simulacrum 2022-04-09 05:58:41 +02:00
invalid Do not allow #[rustc_legacy_const_generics] on methods 2022-03-07 16:31:03 +00:00
invalid-compile-flags No branch protection metadata unless enabled 2022-02-19 17:31:40 +02:00
invalid-module-declaration
invalid-self-argument
issues Don't test -Cdefault-linker-libraries=yes when cross compiling. 2022-04-12 15:00:44 +02:00
iterators add #[must_use] to functions of slice and its iterators. 2022-03-24 15:21:03 +01:00
keyword Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
kindck Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
label Tweak diagnostics 2022-02-28 18:22:45 +00:00
lang-items Add test for issue rust-lang/rust#83474 2022-04-05 21:45:07 -05:00
layout Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them. 2022-04-05 13:18:21 +00:00
lazy-type-alias-impl-trait Add some tests around recursion and "revealing" 2022-03-28 17:01:09 +00:00
let-else Tweak diagnostics 2022-02-28 18:22:45 +00:00
lexer Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
lifetimes Revert to inference variable based hidden type computation for RPIT 2022-03-28 16:53:47 +00: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 Rollup merge of #95910 - ehuss:fix-crate-type-duplicate, r=Dylan-DPC 2022-04-12 08:46:59 +02:00
liveness only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
loops Tweak move error 2022-03-03 21:21:57 +00:00
lto Updated corresponding stderr 2022-03-06 16:14:07 +01: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 expand: Remove ParseSess::missing_fragment_specifiers 2022-04-09 15:44:19 +03:00
malformed Suggest derivable trait on E0277 2022-04-05 11:14:32 +09: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 regression test for #82866 2022-04-06 21:43:34 -07:00
meta Auto merge of #87915 - estebank:fancy-spans, r=oli-obk 2021-09-13 16:31:12 +00:00
methods Add regression test for <i32 as Iterator>::count 2022-03-11 16:21:31 -07:00
mir diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
mir-dataflow Remove MaybeMutBorrowedLocals 2021-11-03 16:43:12 +01:00
mismatched_types Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
missing diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
missing-trait-bounds Properly track ImplObligations 2022-03-24 02:08:49 +00:00
missing_non_modrs_mod
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
moves Add test for T: suggestions 2022-04-12 12:14:43 +04:00
mut Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00:00
namespace Point at call span that introduced obligation for the arg 2021-09-16 12:12:27 +00:00
native-library-link-flags Stabilize native library modifier syntax and the whole-archive modifier specifically 2022-03-30 23:53:21 +03:00
never_type Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
nll Rollup merge of #95591 - jackh726:nll-revisions-1, r=oli-obk 2022-04-05 22:58:58 +02:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Cleanup feature gates. 2022-03-03 18:50:28 +01:00
numbers-arithmetic Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
numeric Write UI tests, tweak message 2022-01-31 17:34:10 +00:00
object-lifetime Bless nll tests. 2022-03-03 19:59:52 +01: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 Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
operator-recovery Recover on invalid operators <> and <=> 2021-12-14 18:05:02 +01:00
or-patterns Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00: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 Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
panic-runtime Use existing declaration of rust_eh_personality 2021-07-10 15:43:05 +02:00
panics Rollup merge of #93566 - Aaron1011:rustc-backtrace, r=davidtwco 2022-02-03 22:20:26 +09:00
parser expand: Remove ParseSess::missing_fragment_specifiers 2022-04-09 15:44:19 +03:00
pattern Delay a bug when we see SelfCtor in ref pattern 2022-04-10 20:55:10 -07:00
pin-macro Write {ui,} tests for pin_macro and pin! 2022-02-14 16:56:37 +01:00
polymorphization diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
print-fuel
print_type_sizes print-type-sizes: skip field printing for primitives 2021-09-28 00:00:00 +00:00
privacy fix a bad error message for relative paths are not supported in visibilities error 2022-04-11 22:15:45 +09:00
proc-macro Rollup merge of #95343 - dtolnay:literals, r=petrochenkov 2022-04-04 20:41:30 +02:00
process Add needs-unwind directive to tests where necessary 2022-03-19 16:35:41 +01:00
process-termination Don't run a publically reachable server in tests 2021-06-27 09:53:27 -04:00
ptr_ops rename compiler-flags to compile-flags 2022-02-21 17:53:16 -08:00
pub Cleanup feature gates. 2022-03-03 18:50:28 +01:00
qualified
query-system Add a regression test for issue-83479 2021-10-20 11:09:06 +09:00
range Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
raw-ref-op
reachable Replace ! with * in ui test of unary expr reachability 2021-11-21 19:30:17 -08:00
recursion separate const prop lint from optimizations 2022-03-23 16:50:41 +00:00
recursion_limit Bless tests 2021-10-15 02:36:58 -05:00
regions Format invariance notes with backticks 2022-04-04 20:26:31 -07:00
repr Auto merge of #94096 - cjgillot:ensure-stability, r=lcnr 2022-03-04 05:49:14 +00:00
reserved Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
resolve Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
return Eagerly replace {integer}/{float} with i32/f64 for suggestion 2022-03-27 02:20:16 +00: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 Dedup logic and improve output for other types that impl trait 2022-04-04 21:06:35 +00:00
rfc-2005-default-binding-mode Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
rfc-2008-non-exhaustive Update non-exhaustive omitted_patterns ui output 2022-03-12 15:02:42 -05:00
rfc-2027-object-safe-for-dispatch
rfc-2091-track-caller Update tests after feature stabilization 2022-03-07 08:47:18 -08:00
rfc-2093-infer-outlives Cleanup feature gates. 2022-03-03 18:50:28 +01:00
rfc-2126-crate-paths Cleanup feature gates. 2022-03-03 18:50:28 +01:00
rfc-2126-extern-absolute-paths
rfc-2294-if-let-guard Fix let_chains and if_let_guard feature flags 2022-01-22 17:45:45 -03:00
rfc-2306
rfc-2361-dbg-macro Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
rfc-2457 Practice diagnostic message convention 2021-10-03 16:16:28 +09:00
rfc-2497-if-let-chains [let_chains] Forbid let inside parentheses 2022-03-31 18:33:05 -03:00
rfc-2565-param-attrs Bless all pretty printer tests and ui tests 2022-01-30 19:50:51 -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 Auto merge of #94243 - compiler-errors:compiler-flags-typo, r=Mark-Simulacrum 2022-04-11 00:58:22 +00:00
rfcs diagnostics: tweak error message to give more rationale to unsafe Fn 2022-04-05 11:13:48 -07:00
rmeta
runtime Use black_box intrinsic in out-of-stack test 2022-01-12 18:51:31 +01:00
rust-2018 Improve method name suggestions 2022-04-03 16:38:57 +01:00
rust-2021 Do not suggest wrapping an item if it has ambiguous un-imported methods 2022-02-21 16:45:35 -08:00
rustdoc Add test for merged features 2021-11-24 21:57:18 +01:00
sanitize Ignore failing test on aarch64 2022-02-12 12:31:33 +01:00
save-analysis diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
self Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +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 pub use std::simd::StdFloat; 2022-01-27 11:50:58 -08:00
single-use-lifetime Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
span Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
specialization Rollup merge of #95525 - ohno418:suggest-derivable-trait-E0277, r=compiler-errors 2022-04-05 15:56:49 +02:00
stability-attribute Permit #[deprecated] in stdlib 2022-03-09 16:32:47 -05:00
stack-protector add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
static bless you 2022-02-12 19:24:41 +11: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 Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
structs Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
structs-enums Specialize suggestion for Option<T> 2022-03-31 08:04:53 -07:00
suggestions only suggest removing semicolon when expr implements trait 2022-04-10 16:30:14 -07:00
svh Enable svh tests on msvc 2021-12-01 02:05:17 +00:00
symbol-names Rollup merge of #94359 - tmiasko:legacy-verbose-const, r=petrochenkov 2022-03-01 12:00:43 +01:00
target-feature bless tests 2022-04-06 09:29:58 +02:00
terminal-width Make suggestions verbose 2022-01-18 16:38:06 -08:00
test-attrs Rollup merge of #94566 - yanganto:show-ignore-message, r=m-ou-se 2022-03-29 17:11:51 +02:00
thread-local Add test of thread_local! breaking on redefined u8 2022-04-02 11:38:11 -07:00
threads-sendsync Update tests. 2022-03-05 11:39:03 +01:00
tool-attributes Don't confuse the user with notes about tool modules. 2021-08-23 16:57:59 +02:00
trait-bounds Better suggestions for Fn trait selection errors 2022-03-23 21:46:11 -07:00
traits Compute a more precise span for opaque type impls 2022-04-12 12:28:31 +00:00
transmute Make message for &T -> &mut T transmute more accurate 2022-01-09 23:31:57 +00:00
treat-err-as-bug
trivial-bounds Do not mention associated items when they introduce an obligation 2021-11-20 19:19:31 +00:00
try-block Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
try-trait Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
tuple check extra args even if the function is not c_variadic 2022-03-04 20:28:35 -08:00
type Rollup merge of #95654 - notriddle:notriddle/issue-95616, r=davidtwco 2022-04-05 15:56:50 +02: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 Apply suggestions from code review 2022-04-12 21:36:09 +02:00
type-inference Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
typeck Explain why &T is cloned when T is not Clone 2022-04-05 09:40:42 -07:00
typeof --bless tests 2022-04-10 16:45:09 +04:00
ufcs Refer to the TraitRef::identity in the message to be clearer 2022-04-04 21:06:35 +00:00
unboxed-closures Rollup merge of #95663 - notriddle:notriddle/unsafe-fn-closure, r=compiler-errors 2022-04-05 22:58:59 +02:00
underscore-imports Bless tests. 2021-09-02 19:08:59 +02:00
underscore-lifetime underscore-lifetime nll revisions 2022-04-05 11:42:44 -04:00
uniform-paths Add #[must_use] to remaining std functions (A-N) 2021-10-30 23:44:02 -04:00
uninhabited Suggest if let/let_else for refutable pat in let 2022-03-08 16:32:08 +00:00
union Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
unique Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unknown-unstable-lints Fix docs, fix incorrect lint source in note 2022-03-08 19:09:32 +00:00
unresolved fix invalid unresolved imports errors the asterisk wildcard syntax causes 2022-03-04 14:06:27 +09:00
unsafe Don't run UB in test suite 2022-03-21 09:32:26 -04:00
unsized Rollup merge of #95603 - compiler-errors:dyn-return, r=oli-obk 2022-04-05 01:53:32 +02: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 Rollup merge of #95591 - jackh726:nll-revisions-1, r=oli-obk 2022-04-05 22:58:58 +02: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 Rollup merge of #95591 - jackh726:nll-revisions-1, r=oli-obk 2022-04-05 22:58:58 +02:00
where-clauses Rollup merge of #95591 - jackh726:nll-revisions-1, r=oli-obk 2022-04-05 22:58:58 +02:00
xcrate Remove duplicated and unused test files 2022-03-28 10:16:32 -03:00
zero-sized
.gitattributes
alias-uninit-value.rs
align-with-extern-c-fn.rs
aligned_enum_cast.rs fix for the issue #92464 2022-02-01 13:01:19 +03:00
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
assign-imm-local-twice.stderr
assoc-inherent.rs
assoc-inherent.stderr
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
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 Add needs-unwind directive to tests where necessary 2022-03-19 16:35:41 +01:00
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 bless you 2022-02-12 19:24:41 +11:00
check-static-values-constraints.stderr bless you 2022-02-12 19:24:41 +11:00
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
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
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
commandline-argfile-badutf8.args
commandline-argfile-badutf8.rs
commandline-argfile-badutf8.stderr
commandline-argfile-missing.rs
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 Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
conservative_impl_trait.stderr Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
constructor-lifetime-args.rs
constructor-lifetime-args.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
continue-after-missing-main.nll.stderr Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
continue-after-missing-main.rs Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
continue-after-missing-main.stderr Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
copy-a-resource.rs
copy-a-resource.stderr
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
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 Use span of ignored impls for explanatory note 2022-01-15 21:02:50 +01:00
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 Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
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 #91939: integer to char cast error, make more targeted 2022-01-25 23:46:56 +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 macros: support translatable labels 2022-04-05 07:01:03 +01:00
exec-env.rs
explain.rs
explain.stdout
explicit-i-suffix.rs
explore-issue-38412.rs Cleanup feature gates. 2022-03-03 18:50:28 +01:00
explore-issue-38412.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01: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
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.thir.stderr
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 Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
index_message.rs
index_message.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +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
inner-static.rs
integral-indexing.rs
integral-indexing.stderr Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
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 Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
issues-71798.stderr Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00: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 rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +02:00
kinds-of-primitive-impl.stderr rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +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 Do not point at whole file missing fn main 2022-03-05 02:42:55 +00:00
main-wrong-location.stderr Do not point at whole file missing fn main 2022-03-05 02:42:55 +00: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-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
non-fmt-panic.fixed Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-fmt-panic.rs Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-fmt-panic.stderr Take in account the unreachable! macro in the non_fmt_panic lint 2022-01-31 17:09:31 +01:00
non-ice-error-on-worker-io-fail.rs
non-ice-error-on-worker-io-fail.stderr
noncopyable-class.rs
noncopyable-class.stderr
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
not-copy-closure.rs
not-copy-closure.stderr Suggest function borrow ignoring needs_note 2022-03-28 22:27:07 -07:00
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
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 Cleanup feature gates. 2022-03-03 18:50:28 +01:00
once-cant-call-twice-on-heap.stderr Cleanup feature gates. 2022-03-03 18:50:28 +01:00
oom_unwind.rs Restrict oom_unwind test to Linux 2022-03-05 16:16:51 +01: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 Update optimization remark test for LLVM 14 2022-02-16 21:15:30 +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 Add needs-unwind directive to tests where necessary 2022-03-19 16:35:41 +01:00
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 Suggest derivable trait on E0277 2022-04-05 11:14:32 +09:00
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.base.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
rfc1623.nll.stderr Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04:00
rfc1623.rs Move some tests with compare-mode=nll output to revisions 2022-04-05 11:42:41 -04: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
seq-args.stderr
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
sized-borrowed-pointer.rs
sized-cycle-note.rs
sized-cycle-note.stderr Specialize suggestion for Option<T> 2022-03-31 08:04:53 -07:00
sized-owned-pointer.rs
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr Point (again) to more expressions with their type, even if not fully resolved 2022-03-27 02:20:17 +00: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 Override rustc version in ui and mir-opt tests to get stable hashes 2022-01-21 00:28:07 +01: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
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 Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +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
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
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-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
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