diff options
| author | Ben Kimock <kimockb@gmail.com> | 2025-02-01 05:39:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-01 05:39:41 +0000 |
| commit | b82463fcbfd2ed60a77003261445df0f430a3e50 (patch) | |
| tree | 532e602a81dd19c551f37b0cdc93e5b811c4b13b /tests/codegen/function-arguments.rs | |
| parent | 829bfc3f5ee4c4826b2571da419722e3242aa155 (diff) | |
| parent | c925c826bf4eb093f1b6bcded7a4b99a9d489851 (diff) | |
| download | rust-b82463fcbfd2ed60a77003261445df0f430a3e50.tar.gz rust-b82463fcbfd2ed60a77003261445df0f430a3e50.zip | |
Merge pull request #4169 from rust-lang/rustup-2025-02-01
Automatic Rustup
Diffstat (limited to 'tests/codegen/function-arguments.rs')
| -rw-r--r-- | tests/codegen/function-arguments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/function-arguments.rs b/tests/codegen/function-arguments.rs index 503799d3ed2..1a211dfe096 100644 --- a/tests/codegen/function-arguments.rs +++ b/tests/codegen/function-arguments.rs @@ -135,7 +135,7 @@ pub fn mutable_notunpin_borrow(_: &mut NotUnpin) {} #[no_mangle] pub fn notunpin_borrow(_: &NotUnpin) {} -// CHECK: @indirect_struct(ptr noalias nocapture noundef readonly align 4 dereferenceable(32) %_1) +// CHECK: @indirect_struct(ptr noalias{{( nocapture)?}} noundef readonly align 4{{( captures\(none\))?}} dereferenceable(32) %_1) #[no_mangle] pub fn indirect_struct(_: S) {} @@ -198,7 +198,7 @@ pub fn notunpin_box(x: Box<NotUnpin>) -> Box<NotUnpin> { x } -// CHECK: @struct_return(ptr{{( dead_on_unwind)?}} noalias nocapture noundef{{( writable)?}} sret([32 x i8]) align 4 dereferenceable(32){{( %_0)?}}) +// CHECK: @struct_return(ptr{{( dead_on_unwind)?}} noalias{{( nocapture)?}} noundef{{( writable)?}} sret([32 x i8]) align 4{{( captures\(none\))?}} dereferenceable(32){{( %_0)?}}) #[no_mangle] pub fn struct_return() -> S { S { _field: [0, 0, 0, 0, 0, 0, 0, 0] } |
