mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
12 lines
331 B
Rust
12 lines
331 B
Rust
fn main() {}
|
|
|
|
fn v() -> isize { //~ ERROR mismatched types
|
|
mod _ { //~ ERROR expected identifier
|
|
pub fn g() -> isizee { //~ ERROR cannot find type `isizee` in this scope
|
|
mod _ { //~ ERROR expected identifier
|
|
pub g() -> is //~ ERROR missing `fn` for function definition
|
|
(), w20);
|
|
}
|
|
(), w20); //~ ERROR expected item, found `;`
|
|
}
|