]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/trait-pub-assoc-const.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / parser / trait-pub-assoc-const.rs
1 trait Foo {
2     pub const Foo: u32;
3     //~^ ERROR expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found
4 }
5
6 fn main() {}