diff options
| author | kennytm <kennytm@gmail.com> | 2018-01-31 16:36:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-31 16:36:18 +0800 |
| commit | bacb5b72246c2c78a7a40c4d57309bc7bf43282e (patch) | |
| tree | 134e12f8c84d3b9b237a7bb2f0ba89fd78f13051 /src/test/codegen | |
| parent | 3d8279dec772306afc2f168b074e3a53eccec80a (diff) | |
| parent | 973756d715f9caaeee44e9387f5c60458ae5c4fc (diff) | |
| download | rust-bacb5b72246c2c78a7a40c4d57309bc7bf43282e.tar.gz rust-bacb5b72246c2c78a7a40c4d57309bc7bf43282e.zip | |
Rollup merge of #47891 - eddyb:issue-47638, r=nikomatsakis
rustc_trans: keep LLVM types for trait objects anonymous. Fixes #47638 by reverting the addition of readable LLVM trait object type names. r? @nikomatsakis
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 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>) { } |
