rust/tests/ui/dyn-star/const.rs
2023-01-11 09:32:08 +00:00

15 lines
207 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();
}