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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
167 B
Rust
Raw Normal View History

2024-02-20 03:01:35 +00: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() {}