rust/tests/ui/rfc-2632-const-trait-impl/without-tilde.rs

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

7 lines
131 B
Rust
Raw Normal View History

2022-02-21 19:53:16 -06:00
// compile-flags: -Z parse-only
2021-08-27 03:26:35 -05:00
#![feature(const_trait_impl)]
struct S<T: const Tr>;
2022-08-21 05:58:42 -05:00
//~^ ERROR const bounds must start with `~`