diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-01-31 00:23:25 +0200 |
|---|---|---|
| committer | Malo Jaffré <jaffre.malo@gmail.com> | 2018-02-01 21:14:24 +0100 |
| commit | 06e74a930da1a5d721e27cd0be3fdb0c2f4ec786 (patch) | |
| tree | b25340253e2ff4a23235f40e4f20d4e5ebd138a5 /src/test/codegen/function-arguments.rs | |
| parent | 90fe0493eec654f25beaf699cefc27af7d060a6e (diff) | |
| download | rust-06e74a930da1a5d721e27cd0be3fdb0c2f4ec786.tar.gz rust-06e74a930da1a5d721e27cd0be3fdb0c2f4ec786.zip | |
rustc_trans: keep LLVM types for trait objects anonymous.
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
| -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 f8945a6ee8d..0e98d3f9050 100644 --- a/src/test/codegen/function-arguments.rs +++ b/src/test/codegen/function-arguments.rs @@ -122,13 +122,13 @@ pub fn unsafe_slice(_: &[UnsafeInner]) { pub fn str(_: &[u8]) { } -// CHECK: @trait_borrow(%"core::ops::drop::Drop"* nonnull %arg0.0, {}* noalias nonnull readonly %arg0.1) +// CHECK: @trait_borrow({}* nonnull %arg0.0, {}* noalias nonnull readonly %arg0.1) // FIXME #25759 This should also have `nocapture` #[no_mangle] pub fn trait_borrow(_: &Drop) { } -// CHECK: @trait_box(%"core::ops::drop::Drop"* noalias nonnull, {}* noalias nonnull readonly) +// CHECK: @trait_box({}* noalias nonnull, {}* noalias nonnull readonly) #[no_mangle] pub fn trait_box(_: Box<Drop>) { } |
