rust/tests/ui/resolve/issue-111727.rs

7 lines
108 B
Rust

//@ edition: 2021
fn main() {
std::any::Any::create();
//~^ ERROR expected a type, found a trait
}