We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3c144 commit e9c74b1Copy full SHA for e9c74b1
tests/ui/transmute/transmute-same-associated-type.rs
@@ -1,3 +1,6 @@
1
+//! This test verifies that `std::mem::transmute` is allowed between two values
2
+//! of the exact same associated type (`F::Bar`).
3
+
4
//@ check-pass
5
6
trait Foo {
0 commit comments