diff options
| author | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-08-26 22:21:20 +0200 |
|---|---|---|
| committer | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-08-28 13:15:22 +0200 |
| commit | 0ed8e16195658b839f6ff8f7b8ae719a42d2827e (patch) | |
| tree | ca94f8bfd7db556acb2027fd5f53f27df69d5e11 /src/test/codegen | |
| parent | 59e52b1b969545e6b7b8595913dc2e1a741d495d (diff) | |
| download | rust-0ed8e16195658b839f6ff8f7b8ae719a42d2827e.tar.gz rust-0ed8e16195658b839f6ff8f7b8ae719a42d2827e.zip | |
Use partial but correct vtable layout
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>) { } |
