rust/tests/ui/const-generics/issues/issue-71986.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
96 B
Rust
Raw Normal View History

2020-01-03 18:42:02 -06:00
//@ check-pass
pub trait Foo<const B: bool> {}
pub fn bar<T: Foo<{ true }>>() {}
fn main() {}