mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
14 lines
179 B
Rust
14 lines
179 B
Rust
pub(crate) struct Bar<T> {
|
|
foo: T,
|
|
|
|
trait T {
|
|
fn foo(&self);
|
|
}
|
|
|
|
|
|
impl T for Bar<usize> {
|
|
fn foo(&self) {}
|
|
}
|
|
|
|
fn main() {} //~ ERROR this file contains an unclosed delimiter
|