rust/src/test/ui/issues/issue-26812.rs
2021-03-23 17:16:20 +00:00

7 lines
172 B
Rust

#![feature(default_type_parameter_fallback)]
fn avg<T=T::Item>(_: T) {}
//~^ ERROR generic parameters with a default cannot use forward declared identifiers
fn main() {}