rust/tests/ui/ufcs/bad-builder.rs

7 lines
167 B
Rust
Raw Normal View History

2024-02-19 21:01:35 -06:00
fn hello<Q>() -> Vec<Q> {
Vec::<Q>::mew()
//~^ ERROR no function or associated item named `mew` found for struct `Vec<Q>` in the current scope
}
fn main() {}