diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-04-30 11:28:48 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-04-30 11:28:48 +0200 |
| commit | 12c92a32f63130c18ba06d7320d2b28a2bd76625 (patch) | |
| tree | c92c00dbce15d497afddca4cf501b32bdbcf3444 /example/mini_core.rs | |
| parent | 0792280120cbb582b780974a1b90df975350f2c5 (diff) | |
| download | rust-12c92a32f63130c18ba06d7320d2b28a2bd76625.tar.gz rust-12c92a32f63130c18ba06d7320d2b28a2bd76625.zip | |
Rustup to rustc 1.45.0-nightly (fa51f810e 2020-04-29)
Diffstat (limited to 'example/mini_core.rs')
| -rw-r--r-- | example/mini_core.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index 60085d35ae1..8042ca89789 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -85,6 +85,12 @@ unsafe impl<T: ?Sized> Freeze for *mut T {} unsafe impl<T: ?Sized> Freeze for &T {} unsafe impl<T: ?Sized> Freeze for &mut T {} +#[lang = "structural_peq"] +pub trait StructuralPartialEq {} + +#[lang = "structural_teq"] +pub trait StructuralEq {} + #[lang = "not"] pub trait Not { type Output; |
