]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/issue-72911.rs
1 // Regression test for #72911.
7 pub fn gather_all() -> impl Iterator
<Item
= Lint
> {
8 //~^ ERROR type annotations needed
9 lint_files().flat_map(|f
| gather_from_file(&f
))
12 fn gather_from_file(dir_entry
: &foo
::MissingItem
) -> impl Iterator
<Item
= Lint
> {
13 //~^ ERROR: failed to resolve
17 fn lint_files() -> impl Iterator
<Item
= foo
::MissingItem
> {
18 //~^ ERROR: failed to resolve