rust/tests/ui
bors 1079c5edb2 Auto merge of #144145 - matthiaskrgr:rollup-swc74s4, r=matthiaskrgr
Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#138554 (Distinguish delim kind to decide whether to emit unexpected closing delimiter)
 - rust-lang/rust#142673 (Show the offset, length and memory of uninit read errors)
 - rust-lang/rust#142693 (More robustly deal with relaxed bounds and improve their diagnostics)
 - rust-lang/rust#143382 (stabilize `const_slice_reverse`)
 - rust-lang/rust#143928 (opt-dist: make llvm builds optional)
 - rust-lang/rust#143961 (Correct which exploit mitigations are enabled by default)
 - rust-lang/rust#144050 (Fix encoding of link_section and no_mangle cross crate)
 - rust-lang/rust#144059 (Refactor `CrateLoader` into the `CStore`)
 - rust-lang/rust#144123 (Generalize `unsize` and `unsize_into` destinations)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-07-19 05:02:40 +00:00
..
abi Fix tests/ui/abi/debug.rs to cross-compile for riscv64 2025-07-04 18:13:58 -07:00
alloc-error
allocator Rollup merge of #143303 - Kivooeo:tf28, r=tgross35 2025-07-11 07:35:19 +02:00
annotate-snippet
anon-params
argfile
argument-suggestions
array-slice-vec
asm Rollup merge of #143293 - folkertdev:naked-function-kcfi, r=compiler-errors 2025-07-18 04:27:51 +02:00
associated-consts Auto merge of #143357 - cjgillot:no-assoc-item-kind, r=compiler-errors 2025-07-13 22:39:10 +00:00
associated-inherent-types Avoid looking at HIR for trait and impl items 2025-06-30 08:45:43 +00:00
associated-item Reword diagnostics about relaxed bounds in invalid contexts 2025-07-18 12:13:19 +02:00
associated-type-bounds Point to correct argument in Func Call when Self type fails trait bound 2025-07-07 16:47:15 +08:00
associated-types Reword diagnostics about relaxed bounds in invalid contexts 2025-07-18 12:13:19 +02:00
async-await Rollup merge of #143699 - compiler-errors:async-drop-fund, r=oli-obk 2025-07-18 14:49:17 +02:00
attributes Auto merge of #143845 - cjgillot:stability-query, r=jieyouxu 2025-07-18 16:27:59 +00:00
auto-traits Rollup merge of #143302 - Kivooeo:tf27, r=tgross35 2025-07-11 07:35:18 +02:00
autodiff
autoref-autoderef
backtrace
bench
binding cleaned up some tests 2025-07-10 18:50:35 +05:00
binop Rollup merge of #143299 - Kivooeo:tf24, r=tgross35 2025-07-04 23:26:23 -07:00
blind
block-result
bootstrap
borrowck moved tests 2025-07-13 00:03:31 +05:00
box
btreemap
builtin-superkinds
c-variadic
cast Rollup merge of #143678 - Kivooeo:char-overflow, r=SparrowLii 2025-07-17 03:58:31 +02:00
cfg Changes to diagnostics 2025-07-15 09:21:27 +02:00
check-cfg Add regression test 2025-07-15 23:28:15 +02:00
closure-expected-type
closure_context
closures Rollup merge of #143303 - Kivooeo:tf28, r=tgross35 2025-07-11 07:35:19 +02:00
cmse-nonsecure
codegen tests: Fix duplicated-path-in-error fail with musl 2025-07-14 18:37:49 +02:00
codemap_tests
coercion cleaned up some tests 2025-07-05 00:45:24 +05:00
coherence Remove Symbol for Named LateParam/Bound variants 2025-07-04 18:14:22 +00:00
coinduction
command
compare-method
compiletest-self-test Rollup merge of #143118 - Kivooeo:tf15, r=tgross35 2025-06-30 19:23:17 +08:00
conditional-compilation Changes to diagnostics 2025-07-15 09:21:27 +02:00
confuse-field-and-method
const-generics Show the memory of uninit reads 2025-07-18 07:47:08 +00:00
const-ptr cleaned up some tests 2025-07-05 01:54:04 +05:00
const_prop
consts Auto merge of #144145 - matthiaskrgr:rollup-swc74s4, r=matthiaskrgr 2025-07-19 05:02:40 +00:00
contracts
coroutine Eagerly unify coroutine witness in old solver 2025-07-17 17:42:28 +00:00
coverage-attr Port #[coverage] to the new attribute system 2025-07-16 15:51:18 +02:00
crate-loading
cross
cross-crate Rollup merge of #142440 - Kivooeo:tf14, r=tgross35 2025-07-04 23:26:19 -07:00
custom_test_frameworks
cycle-trait Merge lower_item into check_item_type 2025-06-30 08:45:43 +00:00
dataflow_const_prop
debuginfo
definition-reachable
delegation Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
dep-graph
deprecation Rollup merge of #142200 - Kivooeo:tf8, r=jieyouxu 2025-06-25 22:14:54 +02:00
deref-patterns
derived-errors
derives Make Diag::multipart_suggestions always verbose 2025-07-10 17:23:29 +00:00
deriving
dest-prop
destructuring-assignment cleaned up some tests 2025-07-10 18:47:20 +05:00
diagnostic-flags cleaned up some tests 2025-07-17 15:51:32 +05:00
diagnostic-width
diagnostic_namespace Split up the unknown_or_malformed_diagnostic_attributes lint 2025-07-11 01:24:24 +02:00
did_you_mean chore: Improve how the other suggestions message gets rendered 2025-07-10 08:00:20 -06:00
directory_ownership
disallowed-deconstructing
dollar-crate
drop Rollup merge of #143303 - Kivooeo:tf28, r=tgross35 2025-07-11 07:35:19 +02:00
drop-bounds
dropck Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
dst
duplicate
dyn-compatibility
dyn-drop
dyn-keyword
dynamically-sized-types
editions
empty Rewrite empty attribute lint 2025-07-06 09:51:35 +02:00
entry-point
enum
enum-discriminant Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
env-macro
ergonomic-clones
error-codes Rollup merge of #143699 - compiler-errors:async-drop-fund, r=oli-obk 2025-07-18 14:49:17 +02:00
error-emitter
errors
explain
explicit
explicit-tail-calls
expr cleaned up some tests 2025-07-17 15:51:32 +05:00
extern trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
extern-flag
feature-gates Auto merge of #144145 - matthiaskrgr:rollup-swc74s4, r=matthiaskrgr 2025-07-19 05:02:40 +00:00
ffi-attrs
float tests: Use cfg_target_has_reliable_f16_f128 2025-07-05 02:02:09 -05:00
fmt cleaned up some tests 2025-07-17 15:51:32 +05:00
fn Rollup merge of #143296 - Kivooeo:tf21, r=tgross35 2025-07-04 23:26:21 -07:00
fn-main
for Make Diag::multipart_suggestions always verbose 2025-07-10 17:23:29 +00:00
for-loop-while
force-inlining
foreign
frontmatter
fully-qualified-type
function-pointer
functional-struct-update
functions-closures
generic-associated-types Gate things properly 2025-07-15 16:02:26 +00:00
generic-const-items Avoid looking at HIR for trait and impl items 2025-06-30 08:45:43 +00:00
generics Auto merge of #143357 - cjgillot:no-assoc-item-kind, r=compiler-errors 2025-07-13 22:39:10 +00:00
half-open-range-patterns
hashmap cleaned up some tests 2025-07-10 18:50:35 +05:00
hello_world
higher-ranked Auto merge of #143473 - workingjubilee:rollup-bxie7zg, r=scottmcm 2025-07-05 09:37:08 +00:00
hygiene
illegal-sized-bound
impl-header-lifetime-elision
impl-trait Rollup merge of #142693 - fmease:unbound-bettering, r=compiler-errors 2025-07-18 19:14:43 +02:00
implied-bounds Avoid looking at HIR for trait and impl items 2025-06-30 08:45:43 +00:00
imports chore: Improve how the other suggestions message gets rendered 2025-07-10 08:00:20 -06:00
include-macros
incoherent-inherent-impls
indexing cleaned up some tests 2025-06-29 15:37:33 +05:00
inference Make Diag::multipart_suggestions always verbose 2025-07-10 17:23:29 +00:00
infinite Merge lower_item into check_item_type 2025-06-30 08:45:43 +00:00
inherent-impls-overlap-check
inline-const const-block-as-pattern: do not refer to no-longer-existing nightly feature 2025-07-07 16:18:41 +02:00
instrument-coverage
instrument-xray
interior-mutability
internal
internal-lints
intrinsics Show the memory of uninit reads 2025-07-18 07:47:08 +00:00
invalid Port #[rustc_layout_scalar_valid_range_start/end] to the new attribute parsing infrastructure 2025-06-27 09:08:21 +02:00
invalid-compile-flags
invalid-module-declaration
invalid-self-argument
io-checks Rollup merge of #143303 - Kivooeo:tf28, r=tgross35 2025-07-11 07:35:19 +02:00
issues Reword diagnostic about relaxing non-Sized bound 2025-07-18 12:13:30 +02:00
iterators
json
keyword
kindck
label
lang-items cleaned up some tests 2025-07-10 18:50:35 +05:00
late-bound-lifetimes
layout trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
lazy-type-alias Rollup merge of #143793 - fmease:lta-opaq-inf-recur, r=oli-obk 2025-07-17 10:41:45 +02:00
lazy-type-alias-impl-trait
let-else
lexer
lifetimes Reword mismatched-lifetime-syntaxes text based on feedback 2025-07-14 09:52:58 -04:00
limits cleaned up some tests 2025-07-10 18:47:20 +05:00
link-native-libs
linkage-attr Port #[link_ordinal] to the new attribute parsing infrastructure. 2025-07-13 11:51:01 +02:00
linking Rollup merge of #143908 - Kivooeo:tf0, r=jieyouxu 2025-07-18 14:49:18 +02:00
lint Auto merge of #143845 - cjgillot:stability-query, r=jieyouxu 2025-07-18 16:27:59 +00:00
liveness
loop-match loop_match: fix 'no terminator on block' 2025-07-07 13:55:40 +02:00
loops
lowering Remove ItemKind::descr method 2025-07-01 14:36:28 +02:00
lto
lub-glb
macro_backtrace
macros Auto merge of #143958 - samueltardieu:rollup-lh1s143, r=samueltardieu 2025-07-15 11:42:55 +00:00
malformed Port #[ignore] to the new attribute parsing infrastructure 2025-07-05 21:23:09 +02:00
marker_trait_attr Port #[marker] to the new attribute system 2025-07-09 01:18:28 +03:00
match
meta
methods fix: fix issue 143740, Wrong messages from compiler confusing methods with the same name from different traits 2025-07-17 19:26:39 +08:00
mir Rollup merge of #143271 - cjgillot:gvn-types, r=oli-obk 2025-07-18 04:27:50 +02:00
mir-dataflow
mismatched_types cleaned up some tests 2025-07-05 00:45:24 +05:00
missing Integrate stable feature checking into a query. 2025-07-17 23:19:12 +00:00
missing-trait-bounds
missing_non_modrs_mod
modules cleaned up some tests 2025-07-13 00:03:31 +05:00
modules_and_files_visibility
moves
mut
namespace cleaned up some tests 2025-07-10 18:47:20 +05:00
never_type Rollup merge of #142200 - Kivooeo:tf8, r=jieyouxu 2025-06-25 22:14:54 +02:00
new-range
nll trait_sel: MetaSized always holds temporarily 2025-07-16 12:35:44 +00:00
no_std cleaned up some tests 2025-07-01 15:16:56 +05:00
non_modrs_mods
non_modrs_mods_and_inline_mods
not-panic
numbers-arithmetic cleaned up some tests 2025-07-10 18:50:35 +05:00
numeric
object-lifetime
obsolete-in-place
offset-of
on-unimplemented
operator-recovery
or-patterns
overloaded
packed
panic-handler
panic-runtime Rollup merge of #140809 - bjorn3:panic_runtime_cleanup, r=petrochenkov 2025-06-27 22:13:01 +02:00
panics Rollup merge of #142304 - Enselic:panic-main-revisions, r=compiler-errors 2025-07-17 03:58:28 +02:00
parallel-rustc
parser Rollup merge of #142693 - fmease:unbound-bettering, r=compiler-errors 2025-07-18 19:14:43 +02:00
patchable-function-entry
pattern Rollup merge of #143519 - mu001999-contrib:dead-code/impl-items, r=petrochenkov 2025-07-13 15:15:57 +02:00
pin-ergonomics
pin-macro
precondition-checks Add tests for UB check in set_len, from_raw_parts_in, from_parts_in 2025-07-15 15:12:24 +08:00
print-request cleaned up some tests 2025-07-05 00:45:24 +05:00
print_type_sizes
privacy Integrate stable feature checking into a query. 2025-07-17 23:19:12 +00:00
proc-macro resolve: Merge NameBindingKind::Module into NameBindingKind::Res 2025-07-16 08:28:17 +03:00
process Rollup merge of #143303 - Kivooeo:tf28, r=tgross35 2025-07-11 07:35:19 +02:00
process-termination
ptr_ops cleaned up some tests 2025-07-13 00:03:31 +05:00
pub
qualified
query-system
range
raw-ref-op
reachable cleaned up some tests 2025-07-10 18:50:35 +05:00
recursion cleaned up some tests 2025-07-13 00:03:31 +05:00
recursion_limit
regions Avoid looking at HIR for trait and impl items 2025-06-30 08:45:43 +00:00
repeat-expr Make Diag::multipart_suggestions always verbose 2025-07-10 17:23:29 +00:00
repr Rewrite empty attribute lint 2025-07-06 09:51:35 +02:00
reserved
resolve Rollup merge of #143177 - xizheyin:143134, r=lcnr 2025-07-08 22:50:26 -05:00
return
rfcs Port #[non_exhaustive] to the new attribute parsing infrastructure 2025-07-04 20:30:42 +02:00
rmeta
runtime
rust-2018 chore: Improve how the other suggestions message gets rendered 2025-07-10 08:00:20 -06:00
rust-2021
rust-2024
rustc-env
rustdoc Specify of_trait in Target::Impl. 2025-07-17 22:21:21 +00:00
sanitizer Workaround a MemorySanitizer test issue 2025-07-04 14:47:28 -07:00
self Reword mismatched-lifetime-syntaxes text based on feedback 2025-07-14 09:52:58 -04:00
sepcomp
shadowed cleaned up some tests 2025-07-17 15:51:32 +05:00
shell-argfiles
simd Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
single-use-lifetime
sized cleaned up some tests 2025-07-05 01:54:04 +05:00
sized-hierarchy HIR ty lowering: Validate PointeeSized bounds 2025-07-18 12:25:24 +02:00
span New example for E0536 2025-07-15 09:21:27 +02:00
specialization parse const trait Trait 2025-07-17 18:06:26 +08:00
stability-attribute Integrate stable feature checking into a query. 2025-07-17 23:19:12 +00:00
stable-mir-print Do not optimize stable-mir ui tests. 2025-07-06 16:11:43 +00:00
stack-protector
static Make Diag::multipart_suggestions always verbose 2025-07-10 17:23:29 +00:00
statics Add ty_span query 2025-07-07 08:13:12 +00:00
stats Retire hir::*ItemRef. 2025-07-13 13:50:01 +00:00
std cleaned up some tests 2025-07-05 00:45:24 +05:00
stdlib-unit-tests
str cleaned up some tests 2025-07-05 01:25:48 +05:00
structs Add test for default_field_values and const_default 2025-07-17 19:26:45 +00:00
structs-enums Better recovery 2025-06-26 18:11:14 +00:00
suggestions Rollup merge of #138554 - xizheyin:issue-138401, r=chenyukang 2025-07-18 19:14:42 +02:00
svh cleaned up some tests 2025-07-13 00:03:31 +05:00
symbol-mangling-version
symbol-names Rollup merge of #143908 - Kivooeo:tf0, r=jieyouxu 2025-07-18 14:49:18 +02:00
sync cleaned up some tests 2025-07-05 01:54:04 +05:00
target-cpu
target-feature Rollup merge of #143300 - Kivooeo:tf25, r=tgross35 2025-07-04 23:26:23 -07:00
target_modifiers
test-attrs Rollup merge of #142214 - Kivooeo:tf9, r=jieyouxu 2025-06-29 12:29:54 +02:00
thir-print Auto merge of #142903 - cjgillot:local-def-path-hash, r=compiler-errors 2025-07-17 08:36:42 +00:00
thread-local
threads-sendsync cleaned up some tests 2025-07-01 15:16:56 +05:00
tool-attributes
track-diagnostics refactor: Make -Ztrack-diagnostics emit like a note 2025-07-03 07:19:25 -06:00
trait-bounds Don't reject *multiple* relaxed bounds, reject *duplicate* ones. 2025-07-18 12:24:56 +02:00
traits Rollup merge of #142693 - fmease:unbound-bettering, r=compiler-errors 2025-07-18 19:14:43 +02:00
transmutability
transmute cleaned up some tests 2025-07-13 00:03:31 +05:00
treat-err-as-bug
trivial-bounds
try-block
try-trait cleaned up some tests 2025-07-10 18:47:20 +05:00
tuple
type Show the memory of uninit reads 2025-07-18 07:47:08 +00:00
type-alias
type-alias-enum-variants cleaned up some tests 2025-06-30 12:45:47 +05:00
type-alias-impl-trait
type-inference Rollup merge of #143302 - Kivooeo:tf27, r=tgross35 2025-07-11 07:35:18 +02:00
typeck Rollup merge of #138554 - xizheyin:issue-138401, r=chenyukang 2025-07-18 19:14:42 +02:00
typeof
ufcs
unboxed-closures
underscore-imports
underscore-lifetime Remove similar errors about raw underscore lifetime 2025-07-18 00:28:09 +08:00
uniform-paths
uninhabited treat box patterns as deref patterns in THIR and usefulness analysis 2025-07-04 01:28:35 -07:00
union Unconditionally run check_item_type on all items 2025-06-30 08:06:08 +00:00
unknown-unstable-lints
unop
unpretty fix: Include frontmatter in -Zunpretty output 2025-07-10 10:26:02 -05:00
unresolved
unsafe cleaned up some tests 2025-07-10 18:50:35 +05:00
unsafe-binders
unsafe-fields
unsized Don't reject *multiple* relaxed bounds, reject *duplicate* ones. 2025-07-18 12:24:56 +02:00
unsized-locals Error on moving unsized values rather than ICE'ing 2025-07-08 22:37:12 +02:00
unstable-feature-bound Add tests 2025-07-15 13:48:30 +00:00
unused-crate-deps
unwind-abis
use
variance Check variances in the non-hir wfchecker 2025-06-30 08:45:43 +00:00
variants
version
warnings
wasm
wf Avoid looking at HIR for trait and impl items 2025-06-30 08:45:43 +00:00
where-clauses Remove Symbol for Named LateParam/Bound variants 2025-07-04 18:14:22 +00:00
while
windows-subsystem
zero-sized
.gitattributes
SUMMARY.md Update SUMMARY.md 2025-07-14 12:01:41 +03:00