rust/tests/ui/unpretty/ast-const-trait-bound.rs
2024-02-16 20:02:50 +00:00

5 lines
85 B
Rust

//@ compile-flags: -Zunpretty=normal
//@ check-pass
fn foo() where T: ~const Bar {}