mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
10 lines
290 B
Rust
10 lines
290 B
Rust
//@ known-bug: #124207
|
|
#![feature(transmutability)]
|
|
#![feature(type_alias_impl_trait)]
|
|
trait OpaqueTrait {}
|
|
type OpaqueType = impl OpaqueTrait;
|
|
trait AnotherTrait {}
|
|
impl<T: std::mem::BikeshedIntrinsicFrom<(), ()>> AnotherTrait for T {}
|
|
impl AnotherTrait for OpaqueType {}
|
|
pub fn main() {}
|