summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-71986.rs
blob: 6bfdba5711ef652a62af4e79c680d8ff36dee1d5 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass
// revisions: full min

#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]

pub trait Foo<const B: bool> {}
pub fn bar<T: Foo<{ true }>>() {}

fn main() {}