]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-71986.rs
Rollup merge of #106707 - ehuss:remove-dupe-sha-1, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / issues / issue-71986.rs
1 // check-pass
2
3 pub trait Foo<const B: bool> {}
4 pub fn bar<T: Foo<{ true }>>() {}
5
6 fn main() {}