2022-08-29 14:02:03 -05:00
|
|
|
#![feature(dyn_star)]
|
2022-08-30 14:44:00 -05:00
|
|
|
#![allow(incomplete_features)]
|
2022-04-13 18:38:16 -05:00
|
|
|
|
|
|
|
use std::fmt::Debug;
|
|
|
|
|
|
|
|
trait Foo {}
|
|
|
|
|
|
|
|
fn make_dyn_star() {
|
|
|
|
let i = 42;
|
2022-09-14 18:20:03 -05:00
|
|
|
let dyn_i: dyn* Foo = i; //~ ERROR trait bound `{integer}: Foo` is not satisfied
|
2022-04-13 18:38:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|