Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
issues
/
issue-90364.rs
blob: b11b07b5023b2348d3bbbb0a89f6327084b92599 [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
pub
struct
Foo
<
T
,
const
H
:
T
>(
T
)
//~^ ERROR the type of const parameters must not depend on other generic parameters
where
[();
1
]:;
fn
main
()
{}