Skip to content

Rollup of 8 pull requests #137848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Mar 1, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b41c232
tests: fix up new test for nocapture -> capture(none) change
durin42 Feb 21, 2025
b3330f8
Remove `ParamEnv::without_caller_bounds`
BoxyUwU Feb 26, 2025
4747bb6
Add missing case explanation for doc inlined re-export of doc hidden …
GuillaumeGomez Feb 27, 2025
371c073
Use mk_ty_from_kind a bit less, clean up lifetime handling in borrowck
compiler-errors Feb 28, 2025
5bf2237
Do not yeet unsafe<> from type
compiler-errors Feb 28, 2025
5f58985
Remove `rustc_transmute`'s dependence on `rustc_infer`.
nnethercote Feb 28, 2025
43e017f
Remove `rustc_transmute`'s dependence on `rustc_macros`.
nnethercote Feb 28, 2025
1970311
Remove unnecessary `allow(unused)` attribute.
nnethercote Feb 28, 2025
dfb2222
Remove unused feature from `rustc_transmute`.
nnethercote Feb 28, 2025
785e21d
Remove `allow(unused_variables)` for `rustc_transmute`.
nnethercote Feb 28, 2025
b0530c9
Remove `allow(dead_code)` attributes.
nnethercote Feb 28, 2025
7d4d09e
Shorten span of panic failures in const context
estebank Feb 3, 2025
df5b279
Introduce `feature(generic_const_parameter_types)`
BoxyUwU Feb 25, 2025
f012947
Rollup merge of #136503 - estebank:const-panic, r=RalfJung
matthiaskrgr Mar 1, 2025
11ddd56
Rollup merge of #137390 - durin42:llvm-21-nocapture-rename, r=nikic
matthiaskrgr Mar 1, 2025
415b207
Rollup merge of #137617 - BoxyUwU:generic_const_parameter_types, r=lcnr
matthiaskrgr Mar 1, 2025
db12f00
Rollup merge of #137719 - GuillaumeGomez:missing-doc, r=notriddle
matthiaskrgr Mar 1, 2025
1d9992d
Rollup merge of #137763 - compiler-errors:ty-nits, r=BoxyUwU
matthiaskrgr Mar 1, 2025
b7853ef
Rollup merge of #137769 - compiler-errors:empty-unsafe-fmt, r=ytmimi
matthiaskrgr Mar 1, 2025
b6c1b63
Rollup merge of #137776 - nnethercote:rustc_transmute-cleanups, r=jsw…
matthiaskrgr Mar 1, 2025
c03756a
Rollup merge of #137800 - BoxyUwU:param_env_docs, r=compiler-errors
matthiaskrgr Mar 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
tests: fix up new test for nocapture -> capture(none) change
Same motivation as #136287, but for a newly introduced test. Rather than
over-constraining here, we just match the sret and accept pretty much
all other attributes.

@rustbot label llvm-main
r? @nikic
  • Loading branch information
durin42 committed Feb 25, 2025
commit b41c232488e17b4d7447c74ab1143bbd51af43a0
4 changes: 2 additions & 2 deletions tests/codegen/uninhabited-transparent-return-abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extern "Rust" {
pub fn test_uninhabited_ret_by_ref() {
// CHECK: %_1 = alloca [24 x i8], align {{8|4}}
// CHECK-NEXT: call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %_1)
// CHECK-NEXT: call void @opaque(ptr noalias nocapture noundef nonnull sret([24 x i8]) align {{8|4}} dereferenceable(24) %_1) #2
// CHECK-NEXT: call void @opaque({{.*}} sret([24 x i8]) {{.*}} %_1) #2
// CHECK-NEXT: unreachable
unsafe {
opaque();
Expand All @@ -36,7 +36,7 @@ pub fn test_uninhabited_ret_by_ref() {
pub fn test_uninhabited_ret_by_ref_with_arg(rsi: u32) {
// CHECK: %_2 = alloca [24 x i8], align {{8|4}}
// CHECK-NEXT: call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %_2)
// CHECK-NEXT: call void @opaque_with_arg(ptr noalias nocapture noundef nonnull sret([24 x i8]) align {{8|4}} dereferenceable(24) %_2, i32 noundef %rsi) #2
// CHECK-NEXT: call void @opaque_with_arg({{.*}} sret([24 x i8]) {{.*}} %_2, i32 noundef %rsi) #2
// CHECK-NEXT: unreachable
unsafe {
opaque_with_arg(rsi);
Expand Down
Loading