rust/tests/ui
Matthias Krüger a37fa37281
Rollup merge of #118803 - Nadrieril:min-exhaustive-patterns, r=compiler-errors
Add the `min_exhaustive_patterns` feature gate

## Motivation

Pattern-matching on empty types is tricky around unsafe code. For that reason, current stable rust conservatively requires arms for empty types in all but the simplest case. It has long been the intention to allow omitting empty arms when it's safe to do so. The [`exhaustive_patterns`](https://github.com/rust-lang/rust/issues/51085) feature allows the omission of all empty arms, but hasn't been stabilized because that was deemed dangerous around unsafe code.

## Proposal

This feature aims to stabilize an uncontroversial subset of exhaustive_patterns. Namely: when `min_exhaustive_patterns` is enabled and the data we're matching on is guaranteed to be valid by rust's operational semantics, then we allow empty arms to be omitted. E.g.:

```rust
let x: Result<T, !> = foo();
match x { // ok
    Ok(y) => ...,
}
let Ok(y) = x; // ok
```

If the place is not guaranteed to hold valid data (namely ptr dereferences, ref dereferences (conservatively) and union field accesses), then we keep stable behavior i.e. we (usually) require arms for the empty cases.

```rust
unsafe {
    let ptr: *const Result<u32, !> = ...;
    match *ptr {
        Ok(x) => { ... }
        Err(_) => { ... } // still required
    }
}
let foo: Result<u32, &!> = ...;
match foo {
    Ok(x) => { ... }
    Err(&_) => { ... } // still required because of the dereference
}
unsafe {
    let ptr: *const ! = ...;
    match *ptr {} // already allowed on stable
}
```

Note that we conservatively consider that a valid reference can point to invalid data, hence we don't allow arms of type `&!` and similar cases to be omitted. This could eventually change depending on [opsem decisions](https://github.com/rust-lang/unsafe-code-guidelines/issues/413). Whenever opsem is undecided on a case, we conservatively keep today's stable behavior.

I proposed this behavior in the [`never_patterns`](https://github.com/rust-lang/rust/issues/118155) feature gate but it makes sense on its own and could be stabilized more quickly. The two proposals nicely complement each other.

## Unresolved Questions

Part of the question is whether this requires an RFC. I'd argue this doesn't need one since there is no design question beyond the intent to omit unreachable patterns, but I'm aware the problem can be framed in ways that require design (I'm thinking of the [original never patterns proposal](https://smallcultfollowing.com/babysteps/blog/2018/08/13/never-patterns-exhaustive-matching-and-uninhabited-types-oh-my/), which would frame this behavior as "auto-nevering" happening).

EDIT: I initially proposed a future-compatibility lint as part of this feature, I don't anymore.
2024-01-26 06:36:36 +01:00
..
abi Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
alloc-error Show number in error message even for one error 2023-11-24 19:15:52 +01:00
allocator Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
annotate-snippet Switch from using //~ERROR annotations with --error-format to error-pattern 2023-12-21 16:45:29 +05:30
anon-params macro_rules: Add more tests for using tt in addition to ident 2024-01-05 19:13:52 +03:00
argument-suggestions Show number in error message even for one error 2023-11-24 19:15:52 +01:00
array-slice-vec Remove extra # from url 2024-01-24 00:41:45 +01:00
asm tests/ui/asm/inline-syntax: adapt for LLVM 18 2024-01-18 12:48:38 +00:00
associated-consts Remove track_errors entirely 2024-01-23 15:23:22 +00:00
associated-inherent-types use implied bounds compat mode in MIR borrowck 2024-01-19 15:27:32 +01:00
associated-item generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
associated-type-bounds Don't actually make bound ty/const for RTN 2024-01-21 23:08:03 +00:00
associated-types Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasper 2024-01-25 08:39:42 +01:00
async-await Rollup merge of #119305 - compiler-errors:async-fn-traits, r=oli-obk 2024-01-25 08:39:41 +01:00
attributes Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
auto-traits Bless tests 2024-01-13 12:46:58 -05:00
autoref-autoderef Show number in error message even for one error 2023-11-24 19:15:52 +01:00
auxiliary
bench Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
binding Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
binop Fix ICE when suggesting dereferencing binop operands 2024-01-12 17:49:37 -08:00
blind Show number in error message even for one error 2023-11-24 19:15:52 +01:00
block-result Show number in error message even for one error 2023-11-24 19:15:52 +01:00
borrowck borrowck: wf-check fn item args 2024-01-16 09:25:28 +01:00
box Bless tests 2024-01-13 12:46:58 -05:00
btreemap Show number in error message even for one error 2023-11-24 19:15:52 +01:00
builtin-superkinds Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
c-variadic Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nilstrieb 2024-01-13 20:06:03 +00:00
cast Update existing tests 2023-12-20 22:53:56 -05:00
cfg Auto merge of #119945 - matthiaskrgr:rollup-oy3e1j2, r=matthiaskrgr 2024-01-13 22:05:46 +00:00
check-cfg Add the wasm32-wasi-preview2 target 2024-01-23 13:26:16 +01:00
closure_context Show number in error message even for one error 2023-11-24 19:15:52 +01:00
closure-expected-type recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
closures Random type checker changes 2024-01-23 15:10:23 +00:00
cmse-nonsecure Bless tests 2024-01-13 12:46:58 -05:00
codegen Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
codemap_tests Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coercion Remove track_errors entirely 2024-01-23 15:23:22 +00:00
coherence Make inductive cycles in coherence ambiguous always 2024-01-08 15:03:59 +00:00
coinduction update use of feature flags 2023-12-14 15:22:37 +01:00
command This commit is part of clone3 clean up. Merge tests from tests/ui/command/command-create-pidfd.rs 2024-01-24 17:23:42 +03:00
compare-method Show number in error message even for one error 2023-11-24 19:15:52 +01:00
compiletest-self-test
conditional-compilation Bless tests 2024-01-13 12:46:58 -05:00
confuse-field-and-method Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const_prop Rename and add another test 2023-11-28 23:17:28 +00:00
const-generics Auto merge of #116167 - RalfJung:structural-eq, r=lcnr 2024-01-26 00:17:00 +00:00
const-ptr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
consts Auto merge of #116167 - RalfJung:structural-eq, r=lcnr 2024-01-26 00:17:00 +00:00
coroutine Random type checker changes 2024-01-23 15:10:23 +00:00
crate-loading Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cross Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cross-crate Contents of reachable statics is reachable 2023-08-22 00:00:00 +00:00
custom_test_frameworks Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cycle-trait Show number in error message even for one error 2023-11-24 19:15:52 +01:00
debuginfo Show number in error message even for one error 2023-11-24 19:15:52 +01:00
definition-reachable
delegation Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
dep-graph resolve: Feed the def_kind query immediately on DefId creation 2023-11-28 15:39:31 +03:00
deployment-target
deprecation Suggest quoting unquoted idents in attrs 2024-01-12 13:59:47 -08:00
deref-patterns Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derived-errors Show number in error message even for one error 2023-11-24 19:15:52 +01:00
derives Taint more aggressively in astconv 2024-01-11 09:03:26 +00:00
deriving remove StructuralEq trait 2024-01-24 07:56:23 +01:00
dest-prop
destructuring-assignment Add error code for missing base expression in struct update syntax 2024-01-09 19:25:54 +00:00
diagnostic_namespace Bless tests 2024-01-13 12:46:58 -05:00
diagnostic-flags Show number in error message even for one error 2023-11-24 19:15:52 +01:00
diagnostic-width Switch from using //~ERROR annotations with --error-format to error-pattern 2023-12-21 16:45:29 +05:30
did_you_mean Rollup merge of #119305 - compiler-errors:async-fn-traits, r=oli-obk 2024-01-25 08:39:41 +01:00
directory_ownership Show number in error message even for one error 2023-11-24 19:15:52 +01:00
disallowed-deconstructing Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dollar-crate
drop Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
drop-bounds make comments less cryptic 2023-09-06 12:09:29 +03:00
dropck Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
dst On E0308 involving dyn Trait, mention trait objects 2024-01-24 16:32:24 +00:00
duplicate Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dyn-drop
dyn-keyword Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
dyn-star On E0308 involving dyn Trait, mention trait objects 2024-01-24 16:32:24 +00:00
dynamically-sized-types
editions macro_rules: Add more tests for using tt in addition to ident 2024-01-05 19:13:52 +03:00
empty Show number in error message even for one error 2023-11-24 19:15:52 +01:00
entry-point Update test 2023-12-23 00:09:37 +08:00
enum Show number in error message even for one error 2023-11-24 19:15:52 +01:00
enum-discriminant Remove track_errors entirely 2024-01-23 15:23:22 +00:00
error-codes Bless tests 2024-01-13 12:46:58 -05:00
error-emitter use different revisions for testing colors on windows 2023-12-09 08:53:20 -05:00
errors Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit Show number in error message even for one error 2023-11-24 19:15:52 +01:00
explicit-tail-calls Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr Bless tests 2024-01-13 12:46:58 -05:00
extenv Rename --env option flag to --env-set 2024-01-12 11:02:57 +01:00
extern exclude unexported macro bindings from extern crate 2024-01-21 20:24:40 +08:00
extern-flag Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
feature-gates Rollup merge of #120233 - oli-obk:revert_trait_obj_upcast_stabilization, r=lcnr 2024-01-22 22:12:10 +01:00
fmt Removing redudant note from parse error 2024-01-08 19:41:01 +01:00
fn Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
for update use of feature flags 2023-12-14 15:22:37 +01:00
for-loop-while Remove uses of no-system-llvm 2024-01-23 10:31:07 +01:00
foreign Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fully-qualified-type Show number in error message even for one error 2023-11-24 19:15:52 +01:00
function-pointer Tweak short_ty_string to reduce number of files 2023-12-13 23:07:10 +00:00
functional-struct-update Show number in error message even for one error 2023-11-24 19:15:52 +01:00
functions-closures adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
generic-associated-types On E0308 involving dyn Trait, mention trait objects 2024-01-24 16:32:24 +00:00
generic-const-items Bless tests 2024-01-13 12:46:58 -05:00
generics Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
half-open-range-patterns add help message for exclusive_range_pattern error 2024-01-19 13:38:24 -05:00
hashmap Show number in error message even for one error 2023-11-24 19:15:52 +01:00
hello_world
higher-ranked borrowck: wf-check fn item args 2024-01-16 09:25:28 +01:00
hygiene fix: update broken stderr 2024-01-11 21:39:44 +08:00
illegal-sized-bound Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-header-lifetime-elision Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
impl-trait Account for expected dyn Trait found impl Trait 2024-01-24 16:57:15 +00:00
implied-bounds use implied bounds compat mode in MIR borrowck 2024-01-19 15:27:32 +01:00
imports add several resolution test cases 2024-01-24 00:01:59 +08:00
include-macros
incoherent-inherent-impls
indexing Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inference use implied bounds compat mode in MIR borrowck 2024-01-19 15:27:32 +01:00
infinite Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
inherent-impls-overlap-check
inline-const Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
instrument-coverage coverage: UI test for unstable value -C instrument-coverage=branch 2023-10-25 11:36:45 +11:00
instrument-xray Show number in error message even for one error 2023-11-24 19:15:52 +01:00
interior-mutability Show number in error message even for one error 2023-11-24 19:15:52 +01:00
internal Bless tests 2024-01-13 12:46:58 -05:00
internal-lints Show number in error message even for one error 2023-11-24 19:15:52 +01:00
intrinsics Bless tests 2024-01-13 12:46:58 -05:00
invalid Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-compile-flags Fuel is incompatible with incremental compilation 2023-12-08 00:00:00 +00:00
invalid-module-declaration Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-self-argument Show number in error message even for one error 2023-11-24 19:15:52 +01:00
io-checks Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issues Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnr 2024-01-20 04:57:51 +00:00
iterators Show number in error message even for one error 2023-11-24 19:15:52 +01:00
json Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword Show number in error message even for one error 2023-11-24 19:15:52 +01:00
kindck Tweak short_ty_string to reduce number of files 2023-12-13 23:07:10 +00:00
label
lang-items Bless tests 2024-01-13 12:46:58 -05:00
late-bound-lifetimes Show number in error message even for one error 2023-11-24 19:15:52 +01:00
layout Remove feature(offset_of) from tests 2024-01-19 20:38:51 +00:00
lazy-type-alias Imply outlives-bounds on lazy type aliases 2023-12-28 02:03:43 +01:00
lazy-type-alias-impl-trait Show number in error message even for one error 2023-11-24 19:15:52 +01:00
let-else recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
lexer address requested changes 2024-01-23 21:16:24 +08:00
lifetimes borrowck: wf-check fn item args 2024-01-16 09:25:28 +01:00
limits Manual find replace updates 2023-11-24 21:04:51 +01:00
linkage-attr Bless tests 2024-01-13 12:46:58 -05:00
lint address requested changes 2024-01-23 21:16:24 +08:00
liveness Show number in error message even for one error 2023-11-24 19:15:52 +01:00
loops Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lowering
lto Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
lub-glb recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
macro_backtrace
macros Bless tests 2024-01-13 12:46:58 -05:00
malformed Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
manual Show number in error message even for one error 2023-11-24 19:15:52 +01:00
marker_trait_attr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match Account for ! arm in tail match expr 2023-11-27 16:19:02 +00:00
meta Show number in error message even for one error 2023-11-24 19:15:52 +01:00
methods On E0308 involving dyn Trait, mention trait objects 2024-01-24 16:32:24 +00:00
mir Don't consider delayed bugs for -Ztreat-err-as-bug. 2024-01-13 09:59:56 +11:00
mir-dataflow
mismatched_types Auto merge of #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkin 2024-01-05 04:51:55 +00:00
missing Auto merge of #117303 - sjwang05:issue-117245, r=estebank 2023-12-27 17:26:12 +00:00
missing_non_modrs_mod Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-trait-bounds Show number in error message even for one error 2023-11-24 19:15:52 +01:00
modules Show number in error message even for one error 2023-11-24 19:15:52 +01:00
modules_and_files_visibility Show number in error message even for one error 2023-11-24 19:15:52 +01:00
moves Make InferCtxtExt::could_impl_trait less messed up 2024-01-13 22:00:34 +00:00
mut Show number in error message even for one error 2023-11-24 19:15:52 +01:00
namespace Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
native-library-link-flags Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
never_type Bless tests 2024-01-13 12:46:58 -05:00
nll Rollup merge of #117556 - obeis:static-mut-ref-lint, r=davidtwco 2024-01-09 13:23:15 +01:00
no_std Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic Show number in error message even for one error 2023-11-24 19:15:52 +01:00
numbers-arithmetic remove duplicate test 2024-01-05 18:49:25 +01:00
numeric Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-lifetime Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
object-safety Update tests after rebase 2024-01-19 23:49:40 +00:00
obsolete-in-place
offset-of Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
on-unimplemented Bless tests 2024-01-13 12:46:58 -05:00
operator-recovery Show number in error message even for one error 2023-11-24 19:15:52 +01:00
or-patterns Consistently warn unreachable subpatterns 2024-01-18 17:29:54 +01:00
overloaded remove redundant imports 2023-12-10 10:56:22 +08:00
packed Remove no-longer-needed allow(dead_code) from the tests 2024-01-18 13:16:09 -05:00
panic-handler Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
panic-runtime Bless tests 2024-01-13 12:46:58 -05:00
panics Use the right level with -Ztreat-err-as-bug. 2024-01-11 16:55:10 +11:00
parser Rollup merge of #120063 - clubby789:remove-box-handling, r=Nilstrieb 2024-01-20 20:06:34 +01:00
pattern Rollup merge of #118803 - Nadrieril:min-exhaustive-patterns, r=compiler-errors 2024-01-26 06:36:36 +01:00
pin-macro Bless tests 2024-01-13 12:46:58 -05:00
polymorphization Show number in error message even for one error 2023-11-24 19:15:52 +01:00
print_type_sizes Coroutine variant fields can be uninitialized 2023-12-12 00:00:00 +00:00
print-fuel
privacy privacy: Refactor top-level visiting in TypePrivacyVisitor 2024-01-24 00:42:01 +03:00
proc-macro proc_macro_c_str_literals: Implement Literal::c_string constructor 2024-01-16 13:27:58 -08:00
process Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
process-termination
ptr_ops
pub Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
qualified Show number in error message even for one error 2023-11-24 19:15:52 +01:00
query-system Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
raw-ref-op Bless tests 2024-01-13 12:46:58 -05:00
reachable Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursion Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
recursion_limit Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
regions Make IMPLIED_BOUNDS_ENTAILMENT into a hard error from a lint 2023-12-16 01:28:05 +00:00
repeat-expr Remove extra # from url 2024-01-24 00:41:45 +01:00
repr Bless tests 2024-01-13 12:46:58 -05:00
reserved Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve fix cycle error for "use constructor" suggestion 2024-01-05 21:56:32 +01:00
return Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfcs Auto merge of #116167 - RalfJung:structural-eq, r=lcnr 2024-01-26 00:17:00 +00:00
rmeta Show number in error message even for one error 2023-11-24 19:15:52 +01:00
runtime Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
rust-2018 Remove edition umbrella features. 2023-12-10 13:03:28 -08:00
rust-2021 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rustdoc Bless tests 2024-01-13 12:46:58 -05:00
sanitize Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag 2024-01-03 10:00:15 -08:00
self Bless tests 2024-01-13 12:46:58 -05:00
sepcomp Remove asmjs from tests 2023-10-28 23:11:03 -07:00
shadowed Show number in error message even for one error 2023-11-24 19:15:52 +01:00
shell-argfiles Add support for shell argfiles 2024-01-08 15:25:55 -05:00
simd Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
single-use-lifetime Don't delete any lifetimes with bounds 2024-01-20 02:30:58 +04:00
sized add test for coercing never to infinite type 2023-12-26 17:57:33 +01:00
span Bless tests 2024-01-13 12:46:58 -05:00
specialization Remove track_errors entirely 2024-01-23 15:23:22 +00:00
stability-attribute Bless tests 2024-01-13 12:46:58 -05:00
stable-mir-print add stable_mir output test 2023-12-14 18:10:38 +03:00
stack-protector
static Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
statics Update test for E0796 and static_mut_ref lint 2024-01-07 17:29:25 +03:00
stats Remove hir::Guard 2024-01-05 10:56:59 +00:00
std Add a regression test for #113238 2023-08-14 16:57:51 -07:00
stdlib-unit-tests Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
str Show number in error message even for one error 2023-11-24 19:15:52 +01:00
structs Show number in error message even for one error 2023-11-24 19:15:52 +01:00
structs-enums Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
suggestions maybe_lint_impl_trait: separate is_downgradable from is_object_safe 2024-01-21 20:04:39 +04:00
svh Show number in error message even for one error 2023-11-24 19:15:52 +01:00
symbol-mangling-version Add UI tests for values accepted by -C symbol-mangling-version 2023-11-02 18:20:42 +11:00
symbol-names remove StructuralEq trait 2024-01-24 07:56:23 +01:00
sync Show number in error message even for one error 2023-11-24 19:15:52 +01:00
target-feature Bless tests 2024-01-13 12:46:58 -05:00
test-attrs Show number in error message even for one error 2023-11-24 19:15:52 +01:00
thir-print Update to bitflags 2 in the compiler 2023-12-30 18:17:28 +01:00
thread-local Bless tests 2024-01-13 12:46:58 -05:00
threads-sendsync Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
tool-attributes Bless tests 2024-01-13 12:46:58 -05:00
track-diagnostics Bless tests 2024-01-13 12:46:58 -05:00
trait-bounds Remove extra # from url 2024-01-24 00:41:45 +01:00
traits Add regression test 2024-01-22 14:24:31 +00:00
transmutability Bless tests 2024-01-13 12:46:58 -05:00
transmute Show number in error message even for one error 2023-11-24 19:15:52 +01:00
treat-err-as-bug Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnr 2024-01-20 04:57:51 +00:00
trivial-bounds Show number in error message even for one error 2023-11-24 19:15:52 +01:00
try-block Provide context when ? can't be called because of Result<_, E> 2023-12-05 22:22:08 +00:00
try-trait Provide context when ? can't be called because of Result<_, E> 2023-12-05 22:22:08 +00:00
tuple Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type Suggest = to == in more cases, even in the face of reference mismatch 2023-12-26 23:48:55 +00:00
type-alias Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-alias-enum-variants Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
type-alias-impl-trait Check that we forbid nested items, but not nested closures 2024-01-22 14:35:47 +00:00
type-inference Handle recursion limit for subtype and well-formed predicates 2023-12-01 17:25:02 +00:00
typeck Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasper 2024-01-25 08:39:42 +01:00
typeof Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ufcs Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
unboxed-closures Bless tests 2024-01-13 12:46:58 -05:00
underscore-imports Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-lifetime Rollup merge of #117914 - estebank:issue-85843, r=wesleywiser 2023-12-12 17:40:53 +01:00
uniform-paths
uninhabited Don't warn an empty pattern unreachable if we're not sure the data is valid 2023-12-09 00:44:49 +01:00
union Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unknown-unstable-lints Bless tests 2024-01-13 12:46:58 -05:00
unpretty Make some non-diagnostic-affecting QPath::LangItem into regular qpaths 2023-12-26 04:07:38 +00:00
unresolved Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe Auto merge of #120242 - matthiaskrgr:rollup-a93yj3i, r=matthiaskrgr 2024-01-22 18:22:32 +00:00
unsized Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
unsized-locals Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
unused-crate-deps Delete unused makefile in tests/ui 2024-01-07 20:48:31 +01:00
unwind-abis
use Show number in error message even for one error 2023-11-24 19:15:52 +01:00
variance Show number in error message even for one error 2023-11-24 19:15:52 +01:00
variants Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wasm
wf wf-check type annotations before normalization 2024-01-16 09:25:28 +01:00
where-clauses rename to verbose-internals 2023-12-19 13:35:37 -05:00
while Show number in error message even for one error 2023-11-24 19:15:52 +01:00
xcrate Do not suggest struct literal when fields are private 2023-11-19 17:50:46 +00:00
zero-sized remove redundant imports 2023-12-10 10:56:22 +08:00
.gitattributes
alias-uninit-value.rs
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr
artificial-block.rs
as-precedence.rs
assign-assign.rs
assign-imm-local-twice.rs
assign-imm-local-twice.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-lang-items.rs
assoc-lang-items.stderr
assoc-oddities-3.rs
associated-path-shl.rs
associated-path-shl.stderr
atomic-from-mut-not-available.rs
atomic-from-mut-not-available.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rs
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
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
autoderef-full-lval.stderr
backtrace-apple-no-dsymutil.rs
backtrace.rs avoid triple-backtrace due to panic-during-cleanup 2023-08-27 20:02:46 +02:00
bare-fn-implements-fn-mut.rs remove redundant imports 2023-12-10 10:56:22 +08:00
bare-static-string.rs
big-literals.rs
bind-by-move.rs
bitwise.rs
bogus-tag.rs
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
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
break-diverging-value.stderr
builtin-clone-unwind.rs
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
can-copy-pod.rs
cancel-clean-via-immediate-rvalue-ref.rs
cannot-mutate-captured-non-mut-var.rs
cannot-mutate-captured-non-mut-var.stderr
capture1.rs
capture1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
catch-unwind-bang.rs
cenum_impl_drop_cast.rs
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
char.rs
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-static-recursion-foreign.rs
check-static-values-constraints.rs
check-static-values-constraints.stderr
class-cast-to-trait.rs
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
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 remove redundant imports 2023-12-10 10:56:22 +08:00
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
cleanup-rvalue-scopes.rs remove redundant imports 2023-12-10 10:56:22 +08:00
cleanup-rvalue-temp-during-incomplete-alloc.rs
cleanup-shortcircuit.rs
close-over-big-then-small-data.rs
command-line-diagnostics.rs
command-line-diagnostics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
complex.rs
conflicting-repr-hints.rs
conflicting-repr-hints.stderr
conservative_impl_trait.rs
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
constructor-lifetime-args.stderr
copy-a-resource.rs
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
crate-method-reexport-grrrrrrr.rs
crate-name-attr-used.rs
crate-name-mismatch.rs
crate-name-mismatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
custom_attribute.rs
custom_attribute.stderr
custom-attribute-multisegment.rs
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
deduplicate-diagnostics.deduplicate.stderr
deduplicate-diagnostics.duplicate.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
deduplicate-diagnostics.rs
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
deref-rc.rs
deref.rs
derive-uninhabited-enum-38885.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05: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
destructure-trait-ref.stderr
diverging-fallback-method-chain.rs
diverging-fallback-option.rs
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
does-nothing.rs
does-nothing.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
double-ref.rs
double-type-import.rs
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
duplicate_entry_error.rs
duplicate_entry_error.stderr Collect lang items from AST 2023-12-15 16:12:27 +00:00
early-ret-binop-add.rs
elide-errors-on-mismatched-tuple.rs
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
elided-test.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
else-if.rs
empty_global_asm.rs
empty-allocation-non-null.rs
empty-allocation-rvalue-non-null.rs
empty-type-parameter-list.rs
env-args-reverse-iterator.rs
env-funky-keys.rs
env-null-vars.rs
env-vars.rs
error-festival.rs
error-festival.stderr Migrate 'cast to bool' diagnostic 2023-09-18 14:03:57 +00:00
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr
exec-env.rs
explain.rs
explain.stdout
explicit-i-suffix.rs
explore-issue-38412.rs
explore-issue-38412.stderr Bless tests 2024-01-13 12:46:58 -05:00
expr-block-fn.rs
expr-block-generic.rs
expr-block.rs
expr-copy.rs
expr-if-generic.rs
expr-if-panic-all.rs
expr-scope.rs
ext-expand-inner-exprs.rs
ext-nonexistent.rs
ext-nonexistent.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-mod-syntax.rs
extoption_env-no-args.rs
extoption_env-no-args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extoption_env-not-defined.rs
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fact.rs
fail-simple.rs
fail-simple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ffi_const2.rs
ffi_const2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ffi_const.rs
ffi_const.stderr
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
foreign-fn-return-lifetime.rs On borrow return type, suggest borrowing from arg or owned return type 2023-11-20 23:44:36 +00:00
foreign-fn-return-lifetime.stderr Rollup merge of #117914 - estebank:issue-85843, r=wesleywiser 2023-12-12 17:40:53 +01:00
format-no-std.rs
fun-indirect-call.rs
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
global-scope.rs
hello.rs
illegal-ufcs-drop.fixed
illegal-ufcs-drop.rs
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
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-unused-tps-inherent.rs
impl-unused-tps-inherent.stderr
impl-unused-tps.rs Merge impl_wf_inference into coherence checking 2023-10-24 17:01:25 +00:00
impl-unused-tps.stderr Merge impl_wf_inference into coherence checking 2023-10-24 17:01:25 +00:00
implicit-method-bind.rs
implicit-method-bind.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impossible_range.fixed
impossible_range.rs
impossible_range.stderr
inc-range-pat.rs
infer-fn-tail-expr.rs
inherit-env.rs
inline-disallow-on-variant.rs
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
inner-attrs-on-impl.rs
inner-module.rs
inner-static-type-parameter.rs Generalize E0401 2023-09-10 23:06:14 +02:00
inner-static-type-parameter.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
inner-static.rs
integral-indexing.rs
integral-indexing.stderr Point out the actual mismatch error 2023-10-02 23:14:29 +00:00
integral-variable-unification-error.rs
integral-variable-unification-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
intrinsics-always-extern.rs
intrinsics-always-extern.stderr
invalid_crate_type_syntax.rs
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
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
issue-13560.rs
issue-15924.rs
issue-16822.rs
issue-18502.rs
issue-24106.rs
issue-76387-llvm-miscompile.rs Remove uses of no-system-llvm 2024-01-23 10:31:07 +01:00
issues-71798.rs
issues-71798.stderr
item-name-overload.rs
kinds-in-metadata.rs
kinds-of-primitive-impl.rs
kinds-of-primitive-impl.stderr
lambda-infer-unresolved.rs
last-use-in-block.rs
last-use-in-cap-clause.rs
last-use-is-capture.rs
lazy-and-or.rs
lexical-scopes.rs
lexical-scopes.stderr
lexical-scoping.rs
link-section.rs
lint-group-denied-lint-allowed.rs
lint-group-forbid-always-trumps-cli.rs
lint-group-forbid-always-trumps-cli.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-unknown-lints-at-crate-level.rs
list.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05: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
main-wrong-location.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
main-wrong-type.rs
main-wrong-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
max-min-classes.rs
maximal_mir_to_hir_coverage.rs
maybe-bounds.rs
maybe-bounds.stderr
minus-string.rs
minus-string.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing_debug_impls.rs
missing_debug_impls.stderr
mod-subitem-as-enum-variant.rs
mod-subitem-as-enum-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
module-macro_use-arguments.rs
module-macro_use-arguments.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
monomorphize-abi-alignment.rs
msvc-data-only.rs
multibyte.rs
multiline-comment.rs
mut-function-arguments.rs
mutual-recursion-group.rs
myriad-closures.rs
nested-block-comment.rs
nested-cfg-attrs.rs
nested-cfg-attrs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nested-class.rs
nested-ty-params.rs Generalize E0401 2023-09-10 23:06:14 +02:00
nested-ty-params.stderr Generalize E0401 2023-09-10 23:06:14 +02:00
new-impl-syntax.rs
new-import-syntax.rs
new-style-constants.rs
new-unicode-escapes.rs
newlambdas.rs
newtype-polymorphic.rs
newtype.rs
no_crate_type.rs
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
no_send-enum.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no_send-rc.rs
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
no_share-enum.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no_share-struct.rs
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
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
no-core-2.rs
no-link-unknown-crate.rs
no-link-unknown-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-patterns-in-args-2.rs
no-patterns-in-args-2.stderr
no-patterns-in-args-macro.rs
no-patterns-in-args-macro.stderr
no-patterns-in-args.rs
no-patterns-in-args.stderr
no-reuse-move-arc.rs
no-reuse-move-arc.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-send-res-ports.rs
no-send-res-ports.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-warn-on-field-replace-issue-34101.rs
noexporttypeexe.rs
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
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
non-copyable-void.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-fmt-panic.fixed
non-fmt-panic.rs
non-fmt-panic.stderr
noncopyable-class.rs
noncopyable-class.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nonscalar-cast.fixed
nonscalar-cast.rs
nonscalar-cast.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
not-clone-closure.rs
not-clone-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
not-copy-closure.rs
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
not-enough-arguments.stderr
nul-characters.rs
nullable-pointer-iotareduction.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
nullable-pointer-size.rs
object-pointer-types.rs
object-pointer-types.stderr
objects-coerce-freeze-borrored.rs
occurs-check-2.rs
occurs-check-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
occurs-check-3.rs
occurs-check-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
occurs-check.rs
occurs-check.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-heap.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
oom_unwind.rs
op-assign-builtins-by-ref.rs
opeq.rs
opt-in-copy.rs
opt-in-copy.stderr
optimization-fuel-0.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
optimization-fuel-0.stderr
optimization-fuel-1.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
optimization-fuel-1.stderr
optimization-remark.rs
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
osx-frameworks.rs
osx-frameworks.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
out-pointer-aliasing.rs
output-slot-variants.rs
over-constrained-vregs.rs
panic_implementation-closures.rs
panic-while-printing.rs
paren-span.rs
paren-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
partialeq_help.rs
partialeq_help.stderr Provide better suggestions for T == &T and &T == T 2023-12-16 19:56:50 -08:00
path-lookahead.fixed
path-lookahead.rs
path-lookahead.stderr
path.rs
paths-containing-nul.rs
phantom-auto-trait.rs
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
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
pptypedef.stderr
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
query-visibility.rs
range_inclusive.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
raw-str.rs
realloc-16687.rs
reassign-ref-mut.rs
reassign-ref-mut.stderr
reexport-test-harness-main.rs
reify-intrinsic.rs
reify-intrinsic.stderr Test and note unsafe ctor to fn ptr coercion 2023-08-30 15:09:40 -07:00
removing-extern-crate.fixed
removing-extern-crate.rs
removing-extern-crate.stderr
resource-assign-is-not-copy.rs
resource-destruct.rs
ret-bang.rs
ret-non-nil.rs
ret-non-nil.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-disjoint-regions.rs
return-disjoint-regions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-nil.rs
rustc-error.rs
rustc-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rustc-rust-log.rs
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
sized-borrowed-pointer.rs
sized-cycle-note.rs
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
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 Bless tests 2024-01-13 12:46:58 -05:00
string-box-error.rs
struct-ctor-mangling.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
suggest-null-ptr.fixed
suggest-null-ptr.rs
suggest-null-ptr.stderr
super-at-top-level.rs
super-at-top-level.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
super-fast-paren-parsing.rs
super.rs
svh-add-nothing.rs
swap-1.rs
swap-overlapping.rs
switched-expectations.rs
switched-expectations.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
syntax-extension-minor.rs
tag-type-args.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
tag-type-args.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
tag-variant-cast-non-nullary.fixed
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tail-call-arg-leak.rs
tail-cps.rs
tail-typeck.rs
tail-typeck.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tool_lints_2018_preview.rs Remove edition umbrella features. 2023-12-10 13:03:28 -08:00
tool_lints-fail.rs
tool_lints-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tool_lints-rpass.rs
tool_lints.rs
tool_lints.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
trailing-comma.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
trait-impl-bound-suggestions.fixed
trait-impl-bound-suggestions.rs
trait-impl-bound-suggestions.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-method-number-parameters.rs
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
transmute-non-immediate-to-immediate.rs
trivial_casts-rpass.rs
try-from-int-error-partial-eq.rs
try-operator-hygiene.rs
try-operator.rs
tydesc-name.rs
type_length_limit.polonius.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
type_length_limit.rs
type_length_limit.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-id-higher-rank-2.rs
type-namespace.rs
type-param-constraints.rs
type-param.rs
type-ptr.rs
type-use-i1-versus-i8.rs
typeid-intrinsic.rs
typestate-multi-decl.rs
unconstrained-none.rs
unconstrained-none.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unconstrained-ref.rs
unconstrained-ref.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-ident-matcher.rs
underscore-ident-matcher.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-lifetimes.rs
underscore-method-after-integer.rs
unevaluated_fixed_size_array_len.rs
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
unit.rs
unknown-language-item.rs
unknown-language-item.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unknown-lint-tool-name.rs
unknown-lint-tool-name.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
unknown-llvm-arg.rs
unknown-llvm-arg.stderr
unknown-tool-name.rs
unknown-tool-name.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unnamed_argument_mode.rs
unop-move-semantics.rs
unop-move-semantics.stderr
unop-neg-bool.rs
unop-neg-bool.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unreachable-code-1.rs
unreachable-code.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
unsigned-literal-negation.rs
unsigned-literal-negation.stderr
unused-move-capture.rs
unused-move.rs
unwind-no-uwtable.rs
use-import-export.rs
use-keyword-2.rs
use-module-level-int-consts.rs
use-nested-groups.rs
used.rs
used.stderr
using-target-feature-unstable.rs
usize-generic-argument-parent.rs
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
utf8-bom.rs
wait-forked-but-failed-child.rs
walk-struct-literal-with.rs
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
weird-exit-code.rs
weird-exprs.rs Rename function in weird-exprs.rs for clarity 2024-01-21 13:47:45 +01:00
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
write-fmt-errors.rs
writing-to-immutable-vec.rs
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