diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-26 09:39:41 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-01-24 07:56:23 +0100 |
| commit | 0df7810734d396d1a3082eee674d542c81c269d2 (patch) | |
| tree | 645b4b7b3214be6a2cd6322f6357e3bf815a389b /compiler/rustc_codegen_gcc | |
| parent | a58ec8ff03b3269b20104eb7eae407be48ab95a7 (diff) | |
| download | rust-0df7810734d396d1a3082eee674d542c81c269d2.tar.gz rust-0df7810734d396d1a3082eee674d542c81c269d2.zip | |
remove StructuralEq trait
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/mini_core.rs | 3 | ||||
| -rw-r--r-- | compiler/rustc_codegen_gcc/tests/run/static.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_gcc/example/mini_core.rs b/compiler/rustc_codegen_gcc/example/mini_core.rs index db94bc1c86a..230009741dc 100644 --- a/compiler/rustc_codegen_gcc/example/mini_core.rs +++ b/compiler/rustc_codegen_gcc/example/mini_core.rs @@ -100,9 +100,6 @@ 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; diff --git a/compiler/rustc_codegen_gcc/tests/run/static.rs b/compiler/rustc_codegen_gcc/tests/run/static.rs index 0b933754c29..e7c46ae3fcc 100644 --- a/compiler/rustc_codegen_gcc/tests/run/static.rs +++ b/compiler/rustc_codegen_gcc/tests/run/static.rs @@ -61,9 +61,6 @@ mod libc { #[lang = "structural_peq"] pub trait StructuralPartialEq {} -#[lang = "structural_teq"] -pub trait StructuralEq {} - #[lang = "drop_in_place"] #[allow(unconditional_recursion)] pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) { |
