blob: 708ffa25d6feef70fb2e39d934a88648a39a7c25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// run-pass
#![feature(dyn_star)]
#![allow(incomplete_features)]
use std::fmt::Debug;
fn make_dyn_star(i: usize) {
let _dyn_i: dyn* Debug = i as dyn* Debug;
}
fn main() {
make_dyn_star(42);
}
|