rust/tests/ui/issues/issue-26812.rs
2023-01-11 09:32:08 +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() {}