Let InstCombine remove Clone shims inside Clone shims
Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
This commit is contained in:
parent
92c6c03805
commit
a7d57aa7c8
13 changed files with 31 additions and 45 deletions
|
@ -17,6 +17,7 @@
|
|||
pub trait Sized {}
|
||||
#[lang = "copy"]
|
||||
pub trait Copy {}
|
||||
impl<T: ?Sized> Copy for *const T {}
|
||||
#[lang = "receiver"]
|
||||
pub trait Receiver {}
|
||||
#[lang = "tuple_trait"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue