Skip to content

Commit e9c74b1

Browse files
committed
transmute-equal-assoc-types
1 parent ac3c144 commit e9c74b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ui/transmute/transmute-same-associated-type.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
14
//@ check-pass
25

36
trait Foo {

0 commit comments

Comments
 (0)