rust/tests/ui/const-generics/min_const_generics/const_default_first.rs

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

8 lines
143 B
Rust
Raw Normal View History

2021-03-20 17:34:58 -05:00
#![crate_type = "lib"]
2021-10-23 10:57:49 -05:00
#![allow(dead_code)]
2021-03-20 17:34:58 -05:00
struct Both<const N: usize=3, T> {
//~^ ERROR: generic parameters with a default must be
v: T
}