rust/tests/ui/impl-trait/where-allowed-2.rs

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

7 lines
125 B
Rust
Raw Normal View History

use std::fmt::Debug;
fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
//~^ ERROR type annotations needed
fn main() {}