Sign in
android
/
toolchain
/
rustc
/
59fbe18bc79ed87d0c5f02705e7cf19e402e1f2b
/
.
/
src
/
test
/
ui
/
const-generics
/
const-param-in-trait.rs
blob: 79b3ae2037edabf1087dba5794db339d4758b262 [
file
] [
log
] [
blame
]
// Check that const parameters are permitted in traits.
// run-pass
// revisions: full min
#![
cfg_attr
(
full
,
feature
(
const_generics
))]
#![
cfg_attr
(
full
,
allow
(
incomplete_features
))]
trait
Trait
<
const
T
:
u8
>
{}
fn
main
()
{}