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

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

12 lines
168 B
Rust
Raw Normal View History

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