blob: 6df70f560dec93c1c4d5fce5a6746c4f803ec6e7 [file] [log] [blame]
//@check-pass
//@revisions: old next
//@[next] compile-flags: -Znext-solver
#![feature(ptr_metadata)]
#![feature(dyn_star)]
//~^ WARN the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
use std::fmt::Debug;
use std::ptr::Thin;
fn check_thin<T: ?Sized + Thin>() {}
fn main() {
check_thin::<dyn* Debug>();
}