rust/tests/ui/lint/unused_braces_macro.rs

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

7 lines
101 B
Rust
Raw Normal View History

2022-12-09 17:21:12 -06:00
// build-pass
pub fn foo<const BAR: bool> () {}
fn main() {
foo::<{cfg!(feature = "foo")}>();
}