rust/tests/ui/parser/mismatched-braces/missing-close-brace-in-impl-trait.rs

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

14 lines
161 B
Rust
Raw Normal View History

fn main() {}
impl T for () {
fn foo(&self) {}
trait T {
fn foo(&self);
}
pub(crate) struct Bar<T>();
//~ ERROR this file contains an unclosed delimiter