]>
git.proxmox.com Git - rustc.git/blob - tests/ui/const-generics/issue-80471.rs
1 #![feature(adt_const_params)]
2 //~^ WARN the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes [incomplete_features]
4 #[derive(PartialEq, Eq)]
10 fn foo
<const N
: Nat
>() {}
11 //~^ ERROR `Nat` must implement `ConstParamTy` to be used as the type of a const generic parameter