about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRune Tynan <runetynan@gmail.com>2023-02-13 23:32:06 -0500
committerRune Tynan <runetynan@gmail.com>2023-02-20 13:47:13 -0500
commit871c1dee33b91f20d90ff14441bab5bb93c55380 (patch)
treef0fddb65f316f14102898e88c470f38bd43221d5
parentf1f40ac05c9d23b6a03dcd1d233f28f4794c0f07 (diff)
downloadrust-871c1dee33b91f20d90ff14441bab5bb93c55380.tar.gz
rust-871c1dee33b91f20d90ff14441bab5bb93c55380.zip
Remove unused lifetime
-rw-r--r--compiler/rustc_middle/src/mir/interpret/allocation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/allocation.rs b/compiler/rustc_middle/src/mir/interpret/allocation.rs
index 974db3f4402..981fda244da 100644
--- a/compiler/rustc_middle/src/mir/interpret/allocation.rs
+++ b/compiler/rustc_middle/src/mir/interpret/allocation.rs
@@ -271,7 +271,7 @@ impl AllocRange {
 // The constructors are all without extra; the extra gets added by a machine hook later.
 impl<Prov: Provenance, Bytes: AllocBytes> Allocation<Prov, (), Bytes> {
     /// Creates an allocation from an existing `Bytes` value - this is needed for miri FFI support
-    pub fn from_raw_bytes<'a>(
+    pub fn from_raw_bytes(
         bytes: Bytes,
         align: Align,
         mutability: Mutability,