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-22 01:53:16 +00:00
// compile-flags: -Z parse-only
2021-08-27 08:26:35 +00:00
#![feature(const_trait_impl)]
struct S<T: const Tr>;
2022-08-21 10:58:42 +00:00
//~^ ERROR const bounds must start with `~`