mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
7 lines
225 B
Rust
7 lines
225 B
Rust
fn main() {
|
|
1.create_a_type_error[ //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
|
()+() //~ ERROR cannot add
|
|
// ^ ensure that we typeck the inner expression ^
|
|
];
|
|
}
|