mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
15 lines
208 B
Rust
15 lines
208 B
Rust
//@ run-pass
|
|
#![feature(dyn_star)]
|
|
#![allow(unused, incomplete_features)]
|
|
|
|
use std::fmt::Debug;
|
|
|
|
fn make_dyn_star() {
|
|
let i = 42usize;
|
|
let dyn_i: dyn* Debug = i;
|
|
}
|
|
|
|
fn main() {
|
|
make_dyn_star();
|
|
}
|