blob: e15e090b529ab8b02f20184226f744982afdc4c6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![feature(dyn_star)]
#![allow(incomplete_features)]
use std::fmt::Debug;
fn main() {
let i = [1, 2, 3, 4] as dyn* Debug;
//~^ ERROR `[i32; 4]` needs to have the same ABI as a pointer
dbg!(i);
}
|