2022-06-28 14:02:30 -07:00
|
|
|
// run-pass
|
2022-08-29 12:02:03 -07:00
|
|
|
#![feature(dyn_star)]
|
2022-08-30 12:44:00 -07:00
|
|
|
#![allow(unused, incomplete_features)]
|
2022-06-28 14:02:30 -07:00
|
|
|
|
|
|
|
use std::fmt::Debug;
|
|
|
|
|
|
|
|
fn make_dyn_star() {
|
|
|
|
let i = 42usize;
|
2022-09-14 23:20:03 +00:00
|
|
|
let dyn_i: dyn* Debug = i;
|
2022-06-28 14:02:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
make_dyn_star();
|
|
|
|
}
|