rust/tests/ui/dyn-star/const.rs
2024-02-16 20:02:50 +00:00

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