about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-04-20 19:07:57 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-04-20 19:07:57 +0000
commit7cfecf26f77f0d2c3d83be946d4da6ab997c939e (patch)
tree839a73c27bdb899399b7c73a7287d2bfb7853d8e
parent96905d568a6f1db806d43047a6392c5e2766009e (diff)
downloadrust-7cfecf26f77f0d2c3d83be946d4da6ab997c939e.tar.gz
rust-7cfecf26f77f0d2c3d83be946d4da6ab997c939e.zip
Remove confusing comment
-rw-r--r--compiler/rustc_data_structures/src/tagged_ptr/impl_tag.rs31
1 files changed, 0 insertions, 31 deletions
diff --git a/compiler/rustc_data_structures/src/tagged_ptr/impl_tag.rs b/compiler/rustc_data_structures/src/tagged_ptr/impl_tag.rs
index c9968959368..d263bed9581 100644
--- a/compiler/rustc_data_structures/src/tagged_ptr/impl_tag.rs
+++ b/compiler/rustc_data_structures/src/tagged_ptr/impl_tag.rs
@@ -62,37 +62,6 @@
 /// }
 /// ```
 ///
-// This is supposed to produce a compile error, but does not,
-// see <https://github.com/rust-lang/rust/issues/110613> for more information.
-//
-// Using the same pattern twice results in a compile error:
-//
-// ```compile_fail
-// # use rustc_data_structures::impl_tag;
-// #[derive(Copy, Clone)]
-// struct Unit;
-//
-// impl_tag! {
-//     impl Tag for Unit;
-//     Unit <=> 0,
-//     Unit <=> 1,
-// }
-// ```
-//
-// Using the same tag twice results in a compile error:
-//
-// ```compile_fail
-// # use rustc_data_structures::impl_tag;
-// #[derive(Copy, Clone)]
-// enum E { A, B };
-//
-// impl_tag! {
-//     impl Tag for E;
-//     E::A <=> 0,
-//     E::B <=> 0,
-// }
-// ```
-//
 /// Not specifying all values results in a compile error:
 ///
 /// ```compile_fail,E0004