rust/tests/ui
bors 2b399b5275 Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errors
never_patterns: Parse match arms with no body

Never patterns are meant to signal unreachable cases, and thus don't take bodies:
```rust
let ptr: *const Option<!> = ...;
match *ptr {
    None => { foo(); }
    Some(!),
}
```
This PR makes rustc accept the above, and enforces that an arm has a body xor is a never pattern. This affects parsing of match arms even with the feature off, so this is delicate. (Plus this is my first non-trivial change to the parser).

~~The last commit is optional; it introduces a bit of churn to allow the new suggestions to be machine-applicable. There may be a better solution? I'm not sure.~~ EDIT: I removed that commit

r? `@compiler-errors`
2023-12-08 17:08:52 +00:00
..
abi Auto merge of #118127 - RalfJung:unadjusted-abi, r=compiler-errors 2023-11-25 17:06:22 +00:00
alloc-error Show number in error message even for one error 2023-11-24 19:15:52 +01:00
allocator Show number in error message even for one error 2023-11-24 19:15:52 +01:00
annotate-snippet
anon-params
argument-suggestions Show number in error message even for one error 2023-11-24 19:15:52 +01:00
array-slice-vec Show number in error message even for one error 2023-11-24 19:15:52 +01:00
asm Auto merge of #117912 - GeorgeWort:master, r=petrochenkov 2023-12-02 13:38:47 +00:00
associated-consts Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
associated-inherent-types Get rid of infer vars in inherent assoc types selection by using probe 2023-11-25 17:48:09 -03: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 Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
associated-types Point out shadowed associated types 2023-12-06 11:05:22 +01:00
async-await Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
attributes Show number in error message even for one error 2023-11-24 19:15:52 +01:00
auto-traits Show number in error message even for one error 2023-11-24 19:15:52 +01:00
autoref-autoderef Show number in error message even for one error 2023-11-24 19:15:52 +01:00
auxiliary
bench
binding Show number in error message even for one error 2023-11-24 19:15:52 +01:00
binop Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Provide more suggestions for cloning immutable bindings 2023-12-04 21:54:34 +00:00
box Show number in error message even for one error 2023-11-24 19:15:52 +01:00
btreemap Show number in error message even for one error 2023-11-24 19:15:52 +01:00
builtin-superkinds Show number in error message even for one error 2023-11-24 19:15:52 +01:00
c-variadic Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cast Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cfg Show number in error message even for one error 2023-11-24 19:15:52 +01:00
check-cfg Remove deprecated --check-cfg names() and values() syntax 2023-12-05 13:25:11 +01:00
closure_context Show number in error message even for one error 2023-11-24 19:15:52 +01:00
closure-expected-type Show number in error message even for one error 2023-11-24 19:15:52 +01:00
closures Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cmse-nonsecure Show number in error message even for one error 2023-11-24 19:15:52 +01:00
codegen Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
codemap_tests Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coercion Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence Continue folding if deep normalizer fails 2023-12-05 16:55:10 +00:00
coinduction
command Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
const-ptr also print 'immutable' flag 2023-12-07 17:46:36 +01:00
consts Auto merge of #118689 - compiler-errors:const-drop, r=fee1-dead 2023-12-08 13:43:12 +00:00
coroutine Address code review feedback 2023-12-04 14:33:46 -08: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
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
dep-graph resolve: Feed the def_kind query immediately on DefId creation 2023-11-28 15:39:31 +03:00
deployment-target
deprecation Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
deriving Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dest-prop
destructuring-assignment Show number in error message even for one error 2023-11-24 19:15:52 +01:00
diagnostic_namespace Restrict what symbols can be used in #[diagnostic::on_unimplemented] format strings 2023-12-04 10:00:33 +01:00
diagnostic-flags Show number in error message even for one error 2023-11-24 19:15:52 +01:00
diagnostic-width Show number in error message even for one error 2023-11-24 19:15:52 +01:00
did_you_mean Show number in error message even for one error 2023-11-24 19:15:52 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
drop-bounds
dropck Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dst Show number in error message even for one error 2023-11-24 19:15:52 +01:00
duplicate Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dyn-drop
dyn-keyword Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dyn-star Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dynamically-sized-types
editions When parsing patterns, bubble all errors except reserved idents that aren't likely to appear in for head or match arm 2023-11-29 18:47:31 +00:00
empty Show number in error message even for one error 2023-11-24 19:15:52 +01:00
entry-point Show number in error message even for one error 2023-11-24 19:15:52 +01:00
enum Show number in error message even for one error 2023-11-24 19:15:52 +01:00
enum-discriminant Show number in error message even for one error 2023-11-24 19:15:52 +01:00
error-codes Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01: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 Suggest let or == on typo'd let-chain 2023-11-28 18:07:52 +00:00
extenv Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern Rollup merge of #116420 - bvanjoi:fix-116203, r=Nilstrieb 2023-12-07 21:38:07 +01:00
extern-flag Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gates Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errors 2023-12-08 17:08:52 +00:00
fmt Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn Show number in error message even for one error 2023-11-24 19:15:52 +01:00
for Show number in error message even for one error 2023-11-24 19:15:52 +01:00
for-loop-while Provide structured suggestion for type mismatch in loop 2023-11-22 19:56:53 +00: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
functional-struct-update Show number in error message even for one error 2023-11-24 19:15:52 +01:00
functions-closures
generic-associated-types Tweak unclosed generics errors 2023-12-01 20:01:39 +00:00
generic-const-items Show number in error message even for one error 2023-11-24 19:15:52 +01:00
generics Tweak unclosed generics errors 2023-12-01 20:01:39 +00:00
half-open-range-patterns Parse a pattern with no arm 2023-12-03 12:25:46 +01:00
hashmap Show number in error message even for one error 2023-11-24 19:15:52 +01:00
hello_world
higher-ranked Add print_trait_sugared 2023-12-05 17:15:46 +00:00
hygiene Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-trait Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
implied-bounds Show number in error message even for one error 2023-11-24 19:15:52 +01:00
imports Structured use suggestion on privacy error 2023-12-04 22:26:08 +00: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
infinite Manual find replace updates 2023-11-24 21:04:51 +01:00
inherent-impls-overlap-check
inline-const Show number in error message even for one error 2023-11-24 19:15:52 +01:00
instrument-coverage
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
internal-lints Show number in error message even for one error 2023-11-24 19:15:52 +01:00
intrinsics On Fn arg mismatch for a fn path, suggest a closure 2023-11-29 18:55:00 +00: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 Tweak unclosed generics errors 2023-12-01 20:01:39 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
label
lang-items Show number in error message even for one error 2023-11-24 19:15:52 +01:00
late-bound-lifetimes Show number in error message even for one error 2023-11-24 19:15:52 +01:00
layout Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lazy-type-alias Show number in error message even for one error 2023-11-24 19:15:52 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lexer Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lifetimes Add print_trait_sugared 2023-12-05 17:15:46 +00:00
limits Manual find replace updates 2023-11-24 21:04:51 +01:00
linkage-attr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint Rollup merge of #118504 - compiler-errors:must-use, r=WaffleLapkin 2023-12-06 21:52:32 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lub-glb Manual find replace updates 2023-11-24 21:04:51 +01:00
macro_backtrace
macros Add never_patterns feature gate 2023-11-29 03:58:29 +01:00
malformed Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mir Auto merge of #118075 - tmiasko:validate-critical-call-edges, r=cjgillot 2023-11-25 09:10:44 +00:00
mir-dataflow
mismatched_types Add print_trait_sugared 2023-12-05 17:15:46 +00:00
missing Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Fix rebase 2023-12-04 22:00:34 +00:00
mut Show number in error message even for one error 2023-11-24 19:15:52 +01:00
namespace
native-library-link-flags Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
never_type Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nll Add print_trait_sugared 2023-12-05 17:15:46 +00: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 Auto merge of #114841 - bvanjoi:fix-114814, r=cuviper 2023-11-29 00:47:25 +00:00
numeric Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-lifetime Show number in error message even for one error 2023-11-24 19:15:52 +01:00
object-safety Show number in error message even for one error 2023-11-24 19:15:52 +01:00
obsolete-in-place
offset-of Show number in error message even for one error 2023-11-24 19:15:52 +01:00
on-unimplemented Show number in error message even for one error 2023-11-24 19:15:52 +01:00
operator-recovery Show number in error message even for one error 2023-11-24 19:15:52 +01:00
or-patterns Auto merge of #117611 - Nadrieril:linear-pass-take-4, r=cjgillot 2023-11-26 00:14:14 +00:00
overloaded
packed Rollup merge of #118540 - RalfJung:unsized-packed-offset, r=TaKO8Ki 2023-12-04 21:19:44 +09:00
panic-handler Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panic-runtime Show number in error message even for one error 2023-11-24 19:15:52 +01:00
panics
parser Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errors 2023-12-08 17:08:52 +00:00
pattern Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errors 2023-12-08 17:08:52 +00:00
pin-macro Show number in error message even for one error 2023-11-24 19:15:52 +01:00
polymorphization Show number in error message even for one error 2023-11-24 19:15:52 +01:00
print_type_sizes Fix tests 2023-11-25 23:58:52 +00:00
print-fuel
privacy Structured use suggestion on privacy error 2023-12-04 22:26:08 +00:00
proc-macro Structured use suggestion on privacy error 2023-12-04 22:26:08 +00:00
process
process-termination
ptr_ops
pub Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
raw-ref-op
reachable Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursion Manual find replace updates 2023-11-24 21:04:51 +01:00
recursion_limit Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions Show number in error message even for one error 2023-11-24 19:15:52 +01:00
repeat-expr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
repr Detect and reject malformed repr(Rust) hints 2023-11-27 12:29:21 +01:00
reserved Show number in error message even for one error 2023-11-24 19:15:52 +01:00
resolve Auto merge of #118687 - matthiaskrgr:rollup-317ztgu, r=matthiaskrgr 2023-12-06 22:23:25 +00:00
return Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfcs Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errors 2023-12-08 17:08:52 +00:00
rmeta Show number in error message even for one error 2023-11-24 19:15:52 +01:00
runtime
rust-2018 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rust-2021 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rustdoc Show number in error message even for one error 2023-11-24 19:15:52 +01:00
sanitize Auto merge of #117947 - Dirbaio:drop-llvm-15, r=cuviper 2023-11-27 21:54:03 +00:00
self When parsing patterns, bubble all errors except reserved idents that aren't likely to appear in for head or match arm 2023-11-29 18:47:31 +00:00
sepcomp
shadowed Show number in error message even for one error 2023-11-24 19:15:52 +01:00
simd Update std::simd usage and test outputs 2023-11-26 09:02:25 -05:00
single-use-lifetime Show number in error message even for one error 2023-11-24 19:15:52 +01:00
sized Show number in error message even for one error 2023-11-24 19:15:52 +01:00
span Show number in error message even for one error 2023-11-24 19:15:52 +01:00
specialization Show number in error message even for one error 2023-11-24 19:15:52 +01:00
stability-attribute Show number in error message even for one error 2023-11-24 19:15:52 +01:00
stack-protector
static Show number in error message even for one error 2023-11-24 19:15:52 +01:00
statics Show number in error message even for one error 2023-11-24 19:15:52 +01:00
stats Add Span to TraitBoundModifier 2023-11-24 14:32:05 +00:00
std
stdlib-unit-tests
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggestions Mark more tests as run-rustfix 2023-12-04 21:54:32 +00: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 def collector: Set correct namespace in DefPathData for foreign types 2023-11-28 16:17:52 +03:00
sync Show number in error message even for one error 2023-11-24 19:15:52 +01:00
target-feature Show number in error message even for one error 2023-11-24 19:15:52 +01:00
test-attrs Show number in error message even for one error 2023-11-24 19:15:52 +01:00
thir-print
thread-local Show number in error message even for one error 2023-11-24 19:15:52 +01:00
threads-sendsync
tool-attributes Show number in error message even for one error 2023-11-24 19:15:52 +01:00
track-diagnostics Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-bounds Show number in error message even for one error 2023-11-24 19:15:52 +01:00
traits add regression tests 2023-12-08 01:34:40 +01:00
transmutability Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transmute Show number in error message even for one error 2023-11-24 19:15:52 +01:00
treat-err-as-bug Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-alias Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-alias-enum-variants Show number in error message even for one error 2023-11-24 19:15:52 +01:00
type-alias-impl-trait Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug. 2023-12-02 09:01:19 +11:00
type-inference Handle recursion limit for subtype and well-formed predicates 2023-12-01 17:25:02 +00:00
typeck Auto merge of #118072 - estebank:issue-98982, r=cjgillot 2023-12-03 18:57:49 +00:00
typeof Show number in error message even for one error 2023-11-24 19:15:52 +01:00
ufcs
unboxed-closures Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-imports Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-lifetime Show number in error message even for one error 2023-11-24 19:15:52 +01:00
uniform-paths
uninhabited Show number in error message even for one error 2023-11-24 19:15:52 +01:00
union Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unknown-unstable-lints
unpretty Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unresolved Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsized Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsized-locals Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-crate-deps Show number in error message even for one error 2023-11-24 19:15:52 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
where-clauses Show number in error message even for one error 2023-11-24 19:15:52 +01: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
.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
bare-fn-implements-fn-mut.rs
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 Test the multispan case in tests.ui/bounds-lifetime.rs. 2023-10-31 08:01:02 +11:00
bounds-lifetime.stderr Test the multispan case in tests.ui/bounds-lifetime.rs. 2023-10-31 08:01:02 +11: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
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
cleanup-rvalue-scopes.rs
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
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
derive-uninhabited-enum-38885.stderr
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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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
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
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.fixed
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +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
impl-unused-tps.stderr
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
inner-static-type-parameter.stderr
inner-static.rs
integral-indexing.rs
integral-indexing.stderr
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
issue-11881.rs
issue-13560.rs
issue-15924.rs
issue-16822.rs
issue-18502.rs
issue-24106.rs
issue-76387-llvm-miscompile.rs
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
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
nested-ty-params.stderr
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
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
optimization-fuel-0.stderr
optimization-fuel-1.rs
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
path-lookahead.fixed
path-lookahead.rs
path-lookahead.stderr
path.rs
paths-containing-nul.rs
phantom-auto-trait.rs
phantom-auto-trait.stderr
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
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
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
string-box-error.rs
struct-ctor-mangling.rs
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
tag-type-args.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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
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
trailing-comma.rs
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
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
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
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