rust/tests/crashes/132127.rs

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

10 lines
136 B
Rust
Raw Normal View History

2024-11-06 15:10:23 -06:00
//@ known-bug: #132127
#![feature(dyn_star)]
trait Trait {}
fn main() {
let x: dyn* Trait + Send = 1usize;
x as dyn* Trait;
}