diff options
| author | bors <bors@rust-lang.org> | 2018-08-30 10:41:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-30 10:41:41 +0000 |
| commit | 0e98621e69890d67d906a436a68436d03a3edb89 (patch) | |
| tree | b336896571fc1e994297f15234dfdf277be1239c /src/test/codegen | |
| parent | 03fe4c79f7cb4b2879277ef8ec123091c4414c6b (diff) | |
| parent | f318ba2d2fb542e0b1df9be38671dc64e3c07ab5 (diff) | |
| download | rust-0e98621e69890d67d906a436a68436d03a3edb89.tar.gz rust-0e98621e69890d67d906a436a68436d03a3edb89.zip | |
Auto merge of #53757 - oli-obk:validation, r=RalfJung
Use partial but correct vtable layout r? @RalfJung who suggested to also do this change for nightly, not just beta
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/function-arguments.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/function-arguments.rs b/src/test/codegen/function-arguments.rs index 09031508da1..0bd021f8ae2 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -120,13 +120,13 @@ pub fn unsafe_slice(_: &[UnsafeInner]) { pub fn str(_: &[u8]) { } -// CHECK: @trait_borrow({}* nonnull %arg0.0, [4 x [[USIZE]]]* noalias readonly dereferenceable({{.*}}) %arg0.1) +// CHECK: @trait_borrow({}* nonnull %arg0.0, [3 x [[USIZE]]]* noalias readonly dereferenceable({{.*}}) %arg0.1) // FIXME #25759 This should also have `nocapture` #[no_mangle] pub fn trait_borrow(_: &Drop) { } -// CHECK: @trait_box({}* noalias nonnull, [4 x [[USIZE]]]* noalias readonly dereferenceable({{.*}})) +// CHECK: @trait_box({}* noalias nonnull, [3 x [[USIZE]]]* noalias readonly dereferenceable({{.*}})) #[no_mangle] pub fn trait_box(_: Box<Drop>) { } |
