#![feature(dyn_star)] #![allow(incomplete_features)] use std::fmt::Debug; fn dyn_debug(_: (dyn* Debug + '_)) { } fn polymorphic(t: &T) { dyn_debug(t); //~^ ERROR `&T` needs to have the same alignment and size as a pointer } fn main() {}