rust/tests/ui
bors 7042c269c1 Auto merge of #125645 - RalfJung:unclear_local_imports, r=nnethercote
add unqualified_local_imports lint

This lint helps deal with https://github.com/rust-lang/rustfmt/issues/4709 by having the compiler detect imports of local items that are not syntactically distinguishable from imports from other cates. Making them  syntactically distinguishable ensures rustfmt can consistently apply the desired import grouping.
2024-09-23 19:27:33 +00:00
..
abi Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
alloc-error Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
allocator Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
annotate-snippet [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
anon-params More accurate span for anonymous argument suggestion 2024-07-18 00:19:27 +00:00
argfile
argument-suggestions Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
array-slice-vec Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
asm Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
associated-consts Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
associated-inherent-types Get rid of predicates_defined_on 2024-08-24 18:25:41 -04:00
associated-item Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
associated-type-bounds No longer mark RTN as incomplete 2024-09-22 10:46:59 -04:00
associated-types Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
async-await No longer mark RTN as incomplete 2024-09-22 10:46:59 -04:00
attributes remove #[cmse_nonsecure_entry] 2024-09-21 13:05:21 +02:00
auto-traits Don't ICE when auto trait has assoc ty in old solver 2024-07-24 17:19:44 -04:00
autoref-autoderef [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
auxiliary Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
backtrace the output in stderr expects panic-unwind 2024-07-30 08:16:47 +02:00
bench [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
binding Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
binop Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
blind Accurate use rename suggestion span 2024-07-18 00:00:04 +00:00
block-result Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
borrowck No longer mark RTN as incomplete 2024-09-22 10:46:59 -04:00
box Mention when type parameter could be Clone 2024-04-24 22:21:15 +00:00
btreemap Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
builtin-superkinds [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
c-variadic Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
cast Arbitrary self types v2: pointers feature gate. 2024-08-27 17:32:35 +00:00
cfg Fix feature name in test 2024-09-20 09:18:47 +00:00
check-cfg Improve handling of raw-idents in check-cfg 2024-09-18 11:07:32 +02:00
closure_context Show number in error message even for one error 2023-11-24 19:15:52 +01:00
closure-expected-type Make nll higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:59 -03:00
closures Don't suggest adding return type for closures with default return type 2024-08-28 12:54:39 +08:00
cmse-nonsecure disallow cmse ABIs on unsupported platforms 2024-09-21 13:05:23 +02:00
codegen Add a bunch of tests for #107975 2024-07-19 23:27:42 +03:00
codemap_tests Update tests 2024-08-10 12:07:17 +02:00
coercion Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
coherence Rollup merge of #130311 - heiseish:issue-70849-fix, r=fmease 2024-09-14 20:22:41 +10:00
coinduction [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
compare-method show unit output when there is only output diff in diagnostics 2024-07-06 21:00:30 +08:00
compiletest-self-test Update expectations 2024-08-11 09:58:11 +01:00
conditional-compilation Return earlier in some cases in collect_token. 2024-08-23 14:40:08 +10:00
confuse-field-and-method Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
const_prop Allow type_of to return partially non-error types if the type was already tainted 2024-05-28 11:55:20 +00:00
const-generics Rollup merge of #130714 - compiler-errors:try-structurally-resolve-const, r=BoxyUwU 2024-09-23 06:45:36 +02:00
const-ptr on a signed deref check, mention the right pointer in the error 2024-08-01 14:25:19 +02:00
consts Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
coroutine Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
coverage-attr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
crate-loading Make not finding core a fatal error 2024-03-06 18:19:13 -05:00
cross Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
cross-crate Closures are recursively reachable 2024-06-04 22:50:35 +02:00
custom_test_frameworks [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cycle-trait Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
debuginfo TL note: current means target 2024-09-20 10:02:14 -07:00
definition-reachable
delegation Auto merge of #126161 - Bryanskiy:delegation-generics-4, r=petrochenkov 2024-09-07 18:12:05 +00:00
dep-graph [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deployment-target Avoid a couple of unnecessary EarlyDiagCtxt uses 2024-06-22 17:06:47 +00:00
deprecation Deprecate no-op codegen option -Cinline-threshold=... 2024-06-14 20:25:17 +02:00
deref-patterns Move some tests 2024-04-21 15:43:43 -03:00
derived-errors Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derives Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r=nnethercote 2024-08-05 05:40:19 +02:00
deriving derive(SmartPointer): assume pointee from the single generic and better error messages 2024-08-29 01:39:52 +08:00
dest-prop
destructuring-assignment [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
diagnostic_namespace Add test 2024-08-09 22:02:23 -04:00
diagnostic-flags tests: remove few ignore-stage2 2024-04-25 10:48:11 +03:00
diagnostic-width Suggest using --verbose when writing type to a file 2024-02-20 23:48:59 +01:00
did_you_mean Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
directory_ownership
disallowed-deconstructing [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dollar-crate
drop Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
drop-bounds
dropck Rollup merge of #128438 - Bryanskiy:empty-array-dropck, r=lcnr 2024-07-31 23:20:12 +02:00
dst
duplicate Explicitly mark a hack as a HACK and elaborate its comment 2024-09-18 19:36:44 +02:00
dyn-drop
dyn-keyword Rollup merge of #127692 - veera-sivarajan:bugfix-125139, r=estebank 2024-09-03 19:13:23 +02:00
dyn-star
dynamically-sized-types
editions Point out exactly what obligation will fail 2024-06-13 21:47:43 -04:00
empty Suggest the struct variant pattern syntax on usage of unit variant pattern for a struct variant 2024-08-28 22:55:57 +09:00
entry-point Stabilize imported_main 2024-03-06 12:01:54 +00:00
enum More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
enum-discriminant
env-macro
error-codes Introduce distinct error codes for precise capturing 2024-09-16 10:56:22 -04:00
error-emitter tests: remove some trailing ws 2024-04-27 10:54:31 +03:00
errors rewrite and rename issue-107094 to rmake 2024-07-22 10:12:00 -04:00
explicit [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explicit-tail-calls doc fixups from review 2024-07-07 18:16:38 +02:00
expr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
extern TL note: current means target 2024-09-20 10:02:14 -07:00
extern-flag Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril 2024-06-11 09:14:34 +01:00
feature-gates add unqualified_local_imports lint 2024-09-23 11:57:28 +02:00
ffi-attrs
float move a test to a better location 2024-09-12 08:08:38 +02:00
fmt fmt-debug option 2024-08-28 23:32:40 +01:00
fn Enforce supertrait outlives obligations hold when confirming impl 2024-08-05 09:55:14 -04:00
fn-main
for Report better WF obligation leaf obligations in new solver 2024-05-16 21:08:42 -04:00
for-loop-while Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
foreign Don't ICE on Fn trait error for foreign fn 2024-08-16 14:10:06 -04:00
fuel
fully-qualified-type
function-pointer [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
functional-struct-update Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
functions-closures
generic-associated-types Pretty-print own args of existential projections 2024-08-22 06:22:36 +02:00
generic-const-items Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
generics elided_named_lifetimes: bless & add tests 2024-08-31 15:35:42 +03:00
half-open-range-patterns Add suggestions for expressions in patterns 2024-09-18 20:38:43 +02:00
hashmap compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
hello_world [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
higher-ranked Use the right type when coercing fn items to pointers 2024-08-13 16:23:20 -04:00
hygiene Bless tests 2024-08-02 11:34:54 +00:00
illegal-sized-bound
impl-header-lifetime-elision And more general error 2024-05-24 11:20:33 -04:00
impl-trait Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
implied-bounds Adjust tests 2024-09-05 06:37:38 -04:00
imports skip updating when external binding is existed 2024-08-20 20:34:13 +08:00
include-macros diagnostics: fix crash on completely empty included file 2024-03-29 18:22:44 -07:00
incoherent-inherent-impls
indexing check index value <= 0xFFFF_FF00 2024-06-01 09:40:46 +08:00
inference Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
infinite Automatically taint InferCtxt when errors are emitted 2024-06-26 16:01:45 +00:00
inherent-impls-overlap-check
inline-const stabilize const_mut_refs 2024-09-15 09:51:32 +02:00
instrument-coverage Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
instrument-xray
interior-mutability rename 'try' intrinsic to 'catch_unwind' 2024-02-26 11:10:18 +01:00
internal stabilize const_fn_floating_point_arithmetic 2024-08-22 08:25:54 +02:00
internal-lints Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
intrinsics interpret: add missing alignment check in raw_eq 2024-08-27 19:29:52 +02:00
invalid
invalid-compile-flags Fix #128930: Print documentation of CLI options missing their arg 2024-08-11 09:10:30 +01:00
invalid-module-declaration
invalid-self-argument
io-checks Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
issues Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
iterators Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
json
keyword
kindck Harmonize use of leaf and root obligation in trait error reporting 2024-06-12 20:57:23 -04:00
label
lang-items Let InstCombine remove Clone shims inside Clone shims 2024-07-25 15:14:42 -04:00
late-bound-lifetimes Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
layout TL note: current means target 2024-09-20 10:02:14 -07:00
lazy-type-alias Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
lazy-type-alias-impl-trait
let-else
lexer Reserve prefix lifetimes too 2024-09-06 10:32:48 -04:00
lifetimes Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
limits TL note: current means target 2024-09-20 10:02:14 -07:00
linkage-attr Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
lint add unqualified_local_imports lint 2024-09-23 11:57:28 +02:00
liveness
loops Fix ... in multline code-skips in suggestions 2024-06-20 04:25:17 +00:00
lowering Change wording 2024-04-29 14:53:38 +02:00
lto Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
lub-glb Rollup merge of #121475 - jieyouxu:tidy-stderr-check, r=the8472,compiler-errors 2024-03-01 17:51:29 +01:00
macro_backtrace
macros Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
malformed Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
manual Make more of the test suite run on Mac Catalyst 2024-05-28 12:31:33 +02:00
marker_trait_attr Always make inductive cycles as ambig during typeck 2024-03-31 20:44:30 -04:00
match Match ergonomics 2024: test type inference 2024-07-05 11:17:49 -04:00
meta Handle a few more simple tests 2024-05-20 11:13:10 -04:00
methods Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
mir Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
mir-dataflow
mismatched_types Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
missing
missing_non_modrs_mod [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-trait-bounds Use fulfillment, not evaluate, during method probe 2024-04-21 20:10:12 -04:00
modules
modules_and_files_visibility
moves Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
mut Better span for "make binding mutable" suggestion 2024-07-04 02:02:21 +00:00
namespace Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
native-library-link-flags
never_type Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
nll Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
no_std
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic
numbers-arithmetic Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
numeric
object-lifetime Hack around a conflict with clippy::needless_lifetimes 2024-09-06 17:06:35 +03:00
object-safety Rollup merge of #127692 - veera-sivarajan:bugfix-125139, r=estebank 2024-09-03 19:13:23 +02:00
obsolete-in-place
offset-of Fix Parser::break_up_float's right span 2024-09-14 12:41:25 +02:00
on-unimplemented Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
operator-recovery
or-patterns Reword the "unreachable pattern" explanations 2024-08-19 21:39:57 +02:00
overloaded
packed stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
panic-handler Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
panic-runtime
panics Bless tests 2024-08-02 11:34:54 +00:00
parallel-rustc
parser Add more test cases for block-no-opening-brace 2024-09-22 23:29:25 +03:00
patchable-function-entry
pattern Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
pin-macro [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
polymorphization
precondition-checks Fix revisions syntax 2024-04-11 17:53:27 -04:00
print_type_sizes Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
privacy Bless tests due to new method suggestions. 2024-09-07 21:06:49 +07:00
proc-macro Avoid double-handling of attributes in collect_tokens. 2024-08-24 06:57:47 +10:00
process
process-termination
ptr_ops
pub Bless test fallout 2024-08-03 07:57:31 -04:00
qualified
query-system
range
raw-ref-op stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
reachable Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
recursion
recursion_limit
regions Point at explicit 'static obligations on a trait 2024-08-21 16:40:15 +00:00
repeat-expr Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
repr Ban non-array SIMD 2024-09-09 19:39:43 -07:00
reserved
resolve Don't call fn_arg_names for non-fn in resolver 2024-09-07 07:38:22 -04:00
return Fixing span manipulation and indentation of the suggestion introduced by #126187 2024-08-25 20:30:06 +08:00
rfcs Don't elaborate effects predicates into bounds list unless we're actually collecting implied bounds, not super bounds 2024-09-21 12:20:40 -04:00
rmeta
runtime Disable stack overflow handler tests on iOS-like platforms 2024-05-28 12:31:12 +02:00
rust-2018 diagnostics: do not warn when a lifetime bound infers itself 2024-08-09 16:16:16 -07:00
rust-2021
rust-2024 Store raw ident span for raw lifetime 2024-09-17 16:43:18 -04:00
rustc-env note value of RUST_MIN_STACK and explain unsetting 2024-05-19 20:09:03 -07:00
rustdoc
sanitizer Rollup merge of #129179 - compiler-errors:cfi-erase-transparent, r=davidtwco 2024-08-21 18:15:02 +02:00
self Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
sepcomp
shadowed
shell-argfiles compiletest: add enable-by-default check-cfg 2024-05-04 11:30:38 +02:00
simd Update the minimum external LLVM to 18 2024-09-18 13:53:31 -07:00
single-use-lifetime
sized Detect * operator on !Sized expression 2024-08-08 17:35:40 +00:00
span Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
specialization Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
stability-attribute Migrate tests to use -Znext-solver 2024-06-30 17:08:45 +00:00
stable-mir-print Set up false edges in lower_match_tree 2024-07-29 09:50:07 +02:00
stack-protector
static Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
statics Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
stats ignore/fix layout-sensitive tests 2024-08-31 23:56:45 +02:00
std More robust extension checking 2024-09-03 14:36:21 +02:00
stdlib-unit-tests Move various stdlib tests to library/std/tests 2024-04-28 16:10:12 -04:00
str Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
structs Test more cases of WF-checking for fields 2024-08-05 17:56:50 -07:00
structs-enums Get rid of niche selection's dependence on fields's order 2024-09-18 17:31:56 +08:00
suggestions Rollup merge of #130712 - compiler-errors:const-eval-error-reporting, r=BoxyUwU 2024-09-23 06:45:34 +02:00
svh
symbol-mangling-version
symbol-names
sync
target-feature Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU" 2024-09-01 16:35:53 +02:00
test-attrs Update name of Windows abort constant to match platform documentation 2024-07-15 22:21:41 +00:00
thir-print report pat no field error no recoverd struct variant 2024-07-11 00:18:47 +08:00
thread-local Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
threads-sendsync format code in tests/ui/threads-sendsync 2024-08-24 05:32:52 +02:00
tool-attributes Fix diagnostic and add a test for it 2024-07-10 18:56:06 -04:00
track-diagnostics Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
trait-bounds
traits Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
transmutability TL note: current means target 2024-09-20 10:02:14 -07:00
transmute Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
treat-err-as-bug Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
trivial-bounds
try-block
try-trait Fixing span manipulation and indentation of the suggestion introduced by #126187 2024-08-25 20:30:06 +08:00
tuple
type Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
type-alias
type-alias-enum-variants Suggest the struct variant pattern syntax on usage of unit variant pattern for a struct variant 2024-08-28 22:55:57 +09:00
type-alias-impl-trait Revert 'Stabilize -Znext-solver=coherence' 2024-09-11 17:57:04 -04:00
type-inference
typeck Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
typeof Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
ufcs Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
unboxed-closures Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
underscore-imports
underscore-lifetime
uniform-paths
uninhabited Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
union Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
unknown-unstable-lints
unop
unpretty stabilize raw_ref_op 2024-08-18 19:46:53 +02:00
unresolved
unsafe Check params for unsafety in THIR 2024-09-18 16:45:48 -04:00
unsized Detect * operator on !Sized expression 2024-08-08 17:35:40 +00:00
unsized-locals
unused-crate-deps
unwind-abis
use
variance Print the generic parameter along with the variance in dumps. 2024-08-23 23:00:45 +00:00
variants
version
warnings
wasm
wf Fix ICE caused by missing span in a region error 2024-09-09 12:27:36 +05:30
where-clauses
while
windows-subsystem
zero-sized
.gitattributes Move /src/test to /tests 2023-01-11 09:32:08 +00:00
alias-uninit-value.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
allow-non-lint-warnings.rs Make run-make/allow-non-lint-warnings-cmdline into a ui test 2024-06-13 12:55:55 +02:00
anonymous-higher-ranked-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
anonymous-higher-ranked-lifetime.stderr Remove Partial/Ord from BoundRegion 2024-03-27 14:02:16 +00:00
artificial-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
as-precedence.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-assign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assign-imm-local-twice.rs Better span for "make binding mutable" suggestion 2024-07-04 02:02:21 +00:00
assign-imm-local-twice.stderr Better span for "make binding mutable" suggestion 2024-07-04 02:02:21 +00:00
assoc-lang-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-lang-items.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
assoc-oddities-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-path-shl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-path-shl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
atomic-from-mut-not-available.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
atomic-from-mut-not-available.stderr fix test 2024-02-22 18:05:28 +00:00
attempted-access-non-fatal.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attempted-access-non-fatal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-bad-crate-attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
attr-bad-crate-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
attr-shebang.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
attr-start.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
attr-usage-inline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attr-usage-inline.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution-errors.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution-errors.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
attrs-resolution.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
augmented-assignments-feature-gate-cross.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
augmented-assignments-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
augmented-assignments.rs Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck 2024-07-26 14:41:56 -04:00
augmented-assignments.stderr
auto-instantiate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
auto-ref-slice-plus-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
auto-ref-slice-plus-ref.stderr Consider methods from traits when suggesting typos 2024-02-22 18:04:55 +00:00
autoderef-full-lval.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
autoderef-full-lval.stderr Change E0369 diagnostic give note information for foreign items. 2024-06-25 10:00:30 +08:00
bare-fn-implements-fn-mut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bare-static-string.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
big-literals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bind-by-move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bitwise.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bogus-tag.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bogus-tag.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
borrow-by-val-method-receiver.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-lifetime.rs Simple modification of diagnostic information 2023-12-21 10:17:11 +08:00
bounds-lifetime.stderr Bless tests 2024-01-13 12:46:58 -05:00
break-diverging-value.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
break-diverging-value.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
builtin-clone-unwind.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
can-copy-pod.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cancel-clean-via-immediate-rvalue-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cannot-mutate-captured-non-mut-var.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-mutate-captured-non-mut-var.stderr More accurate mutability suggestion 2024-07-04 05:36:34 +00:00
capture1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
capture1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
catch-unwind-bang.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cenum_impl_drop_cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cenum_impl_drop_cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cfguard-run.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
char.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
class-cast-to-trait.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
class-cast-to-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
class-method-missing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
class-method-missing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cleanup-rvalue-for-scope.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cleanup-rvalue-scopes-cf.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-scopes-cf.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cleanup-rvalue-scopes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cleanup-rvalue-temp-during-incomplete-alloc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
cleanup-shortcircuit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
close-over-big-then-small-data.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-diagnostics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
command-line-diagnostics.stderr Better span for "make binding mutable" suggestion 2024-07-04 02:02:21 +00:00
complex.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
conservative_impl_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
conservative_impl_trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
constructor-lifetime-args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
constructor-lifetime-args.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
copy-a-resource.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
copy-a-resource.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
crate-leading-sep.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-method-reexport-grrrrrrr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-name-attr-used.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-name-mismatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
crate-name-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
custom_attribute.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom_attribute.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom-attribute-multisegment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
custom-attribute-multisegment.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
custom-test-frameworks-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deduplicate-diagnostics.deduplicate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deduplicate-diagnostics.duplicate.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
deduplicate-diagnostics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deep.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
default-method-parsing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
default-method-simple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-well-formedness.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deprecation-in-force-unstable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deref-non-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
deref-non-pointer.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
deref-rc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-uninhabited-enum-38885.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
derive-uninhabited-enum-38885.stderr Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
destructure-trait-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
destructure-trait-ref.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
diverging-fallback-method-chain.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
diverging-fallback-option.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
diverging-fn-tail-35849.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
diverging-fn-tail-35849.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
double-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
double-type-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
double-type-import.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dupe-first-attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicate_entry_error.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
duplicate_entry_error.stderr Rename std::panic::PanicInfo to PanicHookInfo. 2024-06-11 15:47:00 +02:00
duplicate-label-E0381-issue-129274.rs Deduplicate Spans in Uninitialized Check 2024-08-22 09:36:14 -07:00
duplicate-label-E0381-issue-129274.stderr Deduplicate Spans in Uninitialized Check 2024-08-22 09:36:14 -07:00
early-ret-binop-add.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
elide-errors-on-mismatched-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elide-errors-on-mismatched-tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
elided-test.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
elided-test.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
else-if.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
empty-allocation-non-null.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
empty-allocation-rvalue-non-null.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
empty-type-parameter-list.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
empty-type-parameter-list.stderr Update tests 2024-02-07 10:42:01 +08:00
error-festival.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error-festival.stderr Migrate 'cast to bool' diagnostic 2023-09-18 14:03:57 +00:00
error-should-say-copy-not-pod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
error-should-say-copy-not-pod.stderr Detect when method call on argument could be removed to fulfill failed trait bound 2024-02-16 04:28:05 +00:00
exclusive-drop-and-copy.rs may not => cannot 2023-03-08 00:00:18 +00:00
exclusive-drop-and-copy.stderr may not => cannot 2023-03-08 00:00:18 +00:00
explain.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explain.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
explicit-i-suffix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explore-issue-38412.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
explore-issue-38412.stderr Bless tests 2024-01-13 12:46:58 -05:00
ext-expand-inner-exprs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ext-nonexistent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ext-nonexistent.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fact.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fail-simple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fail-simple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
filter-block-view-items.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
format-no-std.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fun-indirect-call.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
future-incompatible-lint-group.rs Update ui tests 2024-02-29 14:43:43 +01:00
future-incompatible-lint-group.stderr Update ui tests 2024-02-29 14:43:43 +01:00
global-scope.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
hello.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
illegal-ufcs-drop.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
illegal-ufcs-drop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
illegal-ufcs-drop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-inherent-non-conflict.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-not-adjacent-to-type.rs Allow unused fields in some tests 2024-03-12 10:59:41 +01:00
impl-privacy-xc-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-unused-rps-in-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-rps-in-assoc-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-unused-tps-inherent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps-inherent.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-unused-tps.rs Revert 'Stabilize -Znext-solver=coherence' 2024-09-11 17:57:04 -04:00
impl-unused-tps.stderr Revert 'Stabilize -Znext-solver=coherence' 2024-09-11 17:57:04 -04:00
implicit-method-bind.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implicit-method-bind.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inline-disallow-on-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline-disallow-on-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inlined-main.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner-attrs-on-impl.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
inner-module.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner-static-type-parameter.rs Generalize E0401 2023-09-10 23:06:14 +02:00
inner-static-type-parameter.stderr Rollup merge of #119939 - clubby789:static-const-generic-note, r=compiler-errors 2024-02-06 22:45:39 +01:00
inner-static.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
integral-indexing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integral-indexing.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
integral-variable-unification-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
integral-variable-unification-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid_crate_type_syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_crate_type_syntax.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid_dispatch_from_dyn_impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
invalid_dispatch_from_dyn_impls.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
issue-11881.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-13560.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-15924.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16822.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-18502.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-24106.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-76387-llvm-miscompile.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issues-71798.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issues-71798.stderr Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +00:00
item-name-overload.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
kinds-in-metadata.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
kinds-of-primitive-impl.rs Continue compilation even if inherent impl checks fail 2024-02-14 21:04:51 +00:00
kinds-of-primitive-impl.stderr Continue compilation even if inherent impl checks fail 2024-02-14 21:04:51 +00:00
last-use-in-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
last-use-in-cap-clause.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
last-use-is-capture.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lazy-and-or.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lexical-scopes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lexical-scopes.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lexical-scoping.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
link-section.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
list.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
log-err-phi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
log-knows-the-names-of-variants.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
log-poly.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
logging-only-prints-once.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
loud_ui.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
max-min-classes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
maximal_mir_to_hir_coverage.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
maybe-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
maybe-bounds.stderr Support ?Trait bounds in supertraits and dyn Trait under a feature gate 2024-07-25 20:53:33 +03:00
method-output-diff-issue-127263.rs show unit output when there is only output diff in diagnostics 2024-07-06 21:00:30 +08:00
method-output-diff-issue-127263.stderr show unit output when there is only output diff in diagnostics 2024-07-06 21:00:30 +08:00
minus-string.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
minus-string.stderr Change E0369 diagnostic give note information for foreign items. 2024-06-25 10:00:30 +08:00
missing_debug_impls.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing_debug_impls.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod-subitem-as-enum-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mod-subitem-as-enum-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
monomorphize-abi-alignment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
msvc-data-only.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
msvc-opt-minsize.rs rewrite test-harness to rmake 2024-07-02 11:37:59 -04:00
multibyte.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multiline-comment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mut-function-arguments.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mutual-recursion-group.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
myriad-closures.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-block-comment.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-cfg-attrs.rs Unify all the always-false cfgs under the FALSE cfg 2024-04-07 01:16:45 +02:00
nested-cfg-attrs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nested-class.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-ty-params.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nested-ty-params.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
new-impl-syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
new-import-syntax.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
new-style-constants.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
new-unicode-escapes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
newlambdas.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
newtype-polymorphic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
newtype.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no_crate_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_crate_type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no_send-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-enum.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
no_send-rc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_send-rc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no_share-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_share-enum.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
no_share-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no_share-struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-capture-arc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-capture-arc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-core-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-core-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-link-unknown-crate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-link-unknown-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-reuse-move-arc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-reuse-move-arc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-send-res-ports.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-send-res-ports.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
no-warn-on-field-replace-issue-34101.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
noexporttypeexe.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
noexporttypeexe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-constant-expr-for-arr-len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non-constant-expr-for-arr-len.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-copyable-void.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
non-copyable-void.stderr Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
non-fmt-panic.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-fmt-panic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-fmt-panic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noncopyable-class.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
noncopyable-class.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonscalar-cast.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nonscalar-cast.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nonscalar-cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
not-clone-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-clone-closure.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
not-copy-closure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-copy-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
not-enough-arguments.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-enough-arguments.stderr Use ordinal number in argument error 2024-07-14 13:50:09 +09:00
nul-characters.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nullable-pointer-iotareduction.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
nullable-pointer-size.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
object-pointer-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
object-pointer-types.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
objects-coerce-freeze-borrored.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
occurs-check-2.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
occurs-check-2.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
occurs-check-3.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
occurs-check-3.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
occurs-check.rs change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
occurs-check.stderr change error messages to be incorrect, but more helpful 2024-02-22 18:18:33 +01:00
once-cant-call-twice-on-heap.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
once-cant-call-twice-on-heap.stderr Better account for FnOnce in move errors 2024-04-11 16:41:42 +00:00
oom_unwind.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
op-assign-builtins-by-ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
opeq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
opt-in-copy.rs may not => cannot 2023-03-08 00:00:18 +00:00
opt-in-copy.stderr may not => cannot 2023-03-08 00:00:18 +00:00
optimization-remark.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
out-pointer-aliasing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
output-slot-variants.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
over-constrained-vregs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic_implementation-closures.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
panic-while-printing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
paren-span.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
paren-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
partialeq_help.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
partialeq_help.stderr Provide better suggestions for T == &T and &T == T 2023-12-16 19:56:50 -08:00
path-lookahead.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
path-lookahead.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
path-lookahead.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
paths-containing-nul.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
phantom-auto-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
phantom-auto-trait.stderr Revert "Suggest using Arc on !Send/!Sync types" 2023-08-28 03:16:48 -07:00
point-to-type-err-cause-on-impl-trait-return-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
point-to-type-err-cause-on-impl-trait-return-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pptypedef.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pptypedef.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
primitive-binop-lhs-mut.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
print-calling-conventions.rs Migrate run-make/print-calling-conventions to ui-test 2024-08-03 20:09:42 -04:00
print-calling-conventions.stdout add C-cmse-nonsecure-entry ABI 2024-09-21 13:04:14 +02:00
print-stdout-eprint-stderr.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
project-cache-issue-31849.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr-coercion-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ptr-coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr-coercion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
query-visibility.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
raw-str.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
README.md Implement infra support for migrating from // to //@ ui test directives 2024-02-16 19:40:23 +00:00
realloc-16687.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reassign-ref-mut.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reassign-ref-mut.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
reexport-test-harness-main.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
removing-extern-crate.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
removing-extern-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
removing-extern-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
resource-assign-is-not-copy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
resource-destruct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
rustc-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
seq-args.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
seq-args.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
shadow-bool.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
shadowed-use-visibility.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
short-error-format.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
short-error-format.stderr On short error format, append primary span label to message 2024-08-06 04:08:10 +00:00
sized-borrowed-pointer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sized-cycle-note.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sized-cycle-note.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
sized-owned-pointer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
sse2.rs sudo CI=green && Review changes <3 2024-06-25 18:06:22 +02:00
stable-addr-of.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
std-uncopyable-atomics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
std-uncopyable-atomics.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stdio-is-blocking.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
string-box-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-ctor-mangling.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
super-at-top-level.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
super-at-top-level.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
super.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
svh-add-nothing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
swap-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
swap-overlapping.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
switched-expectations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
switched-expectations.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
syntax-extension-minor.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tag-type-args.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
tag-type-args.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
tag-variant-cast-non-nullary.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tag-variant-cast-non-nullary.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tag-variant-cast-non-nullary.stderr Emit more specific diagnostics when enums fail to cast with as 2024-02-09 09:19:44 +05:30
tail-call-arg-leak.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tail-cps.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tail-typeck.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tail-typeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trailing-comma.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-method-number-parameters.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-method-number-parameters.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transmute-equal-assoc-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
transmute-non-immediate-to-immediate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trivial_casts-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trivial_casts-rpass.stderr Update tests 2024-02-07 10:42:01 +08:00
try-from-int-error-partial-eq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-operator-hygiene.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try-operator.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
tydesc-name.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type_length_limit.polonius.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
type_length_limit.rs Gate the type length limit check behind a nightly flag 2024-07-12 21:16:09 -04:00
type_length_limit.stderr Re-implement a type-size based limit 2024-07-02 15:48:48 -04:00
type-id-higher-rank-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-namespace.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-param-constraints.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ptr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-use-i1-versus-i8.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typeid-intrinsic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
typestate-multi-decl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unconstrained-none.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-none.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unconstrained-ref.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unconstrained-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-ident-matcher.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-ident-matcher.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-lifetimes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
underscore-method-after-integer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unevaluated_fixed_size_array_len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unevaluated_fixed_size_array_len.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
uninit-empty-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unknown-language-item.rs consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
unknown-language-item.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
unknown-llvm-arg.rs Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
unknown-llvm-arg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unnamed_argument_mode.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable-code-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable-code.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unsigned-literal-negation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsigned-literal-negation.stderr Tweak -1 as usize suggestion 2024-07-05 00:52:01 +00:00
unused-move-capture.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-move.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unwind-no-uwtable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-import-export.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-keyword-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-module-level-int-consts.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-nested-groups.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
used.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
used.stderr Show used attribute's kind for user when find it isn't applied to a static variable. 2024-06-29 19:39:09 +08:00
using-target-feature-unstable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
usize-generic-argument-parent.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
usize-generic-argument-parent.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
utf8_idents.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
utf8-bom.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
wait-forked-but-failed-child.rs Handle a few more simple tests 2024-05-20 11:13:10 -04:00
walk-struct-literal-with.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
walk-struct-literal-with.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
weak-new-uninhabited-issue-48493.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
weird-exit-code.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
weird-exprs.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
write-fmt-errors.rs io::Write::write_fmt: panic if the formatter fails when the stream does not fail 2024-05-11 15:13:18 +02:00
writing-to-immutable-vec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
writing-to-immutable-vec.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrong-hashset-issue-42918.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00

UI Tests

This folder contains rustc's UI tests.

Test Directives (Headers)

Typically, a UI test will have some test directives / headers which are special comments that tell compiletest how to build and intepret a test.

As part of an on-going effort to rewrite compiletest (see https://github.com/rust-lang/compiler-team/issues/536), a major change proposal to change legacy compiletest-style headers // <directive> to ui_test-style headers //@ <directive> was accepted (see https://github.com/rust-lang/compiler-team/issues/512.

An example directive is ignore-test. In legacy compiletest style, the header would be written as

// ignore-test

but in ui_test style, the header would be written as

//@ ignore-test

compiletest is changed to accept only //@ directives for UI tests (currently), and will reject and report an error if it encounters any comments // <content> that may be parsed as an legacy compiletest-style test header. To fix this, you should migrate to the ui_test-style header //@ <content>.