diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-03-14 18:48:10 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-03-21 14:51:58 +0200 |
| commit | 14e0aad9909d35195c5725962a4c97697235759d (patch) | |
| tree | 06265a24f9e72fde673e7c65c15a2424904d2527 /src/librustc | |
| parent | 98803c182b2ba6ef5dccb6bf501958249295eac0 (diff) | |
symbol_names: treat ReifyShim like VtableShim.
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/ty/instance.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc/ty/instance.rs b/src/librustc/ty/instance.rs index 13d58ea73ac..46372701a92 100644 --- a/src/librustc/ty/instance.rs +++ b/src/librustc/ty/instance.rs @@ -406,10 +406,6 @@ impl<'tcx> Instance<'tcx> { | InstanceDef::VtableShim(..) => Some(self.substs), } } - - pub fn is_vtable_shim(&self) -> bool { - if let InstanceDef::VtableShim(..) = self.def { true } else { false } - } } fn needs_fn_once_adapter_shim( |
