rust/tests/crashes/136188.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
205 B
Rust
Raw Permalink Normal View History

2025-03-07 23:17:25 +01:00
//@ known-bug: #136188
//@ compile-flags: --crate-type=lib -Znext-solver
#![feature(type_alias_impl_trait)]
type Opaque = Box<impl Sized>;
fn define() -> Opaque { Box::new(()) }
impl Copy for Opaque {}