-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
use std::io::{ | ||
println, | ||
println, | ||
print_ln, | ||
}; | ||
|
||
fn main(std::io) { | ||
io.println(hallo, world) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
mod missing = "no.vi"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
error tests/programs/fail/hallo_world.vi:4:3 - duplicate definition of `println` | ||
error tests/programs/fail/hallo_world.vi:5:3 - cannot find `print_ln` in `::std::io` | ||
error tests/programs/fail/hallo_world.vi:8:9 - invalid pattern; this path is not a struct or enum variant | ||
error tests/programs/fail/hallo_world.vi:9:3 - cannot find `io` in `::hallo_world::main` | ||
error tests/programs/fail/hallo_world.vi:9:14 - cannot find `hallo` in `::hallo_world::main` | ||
error tests/programs/fail/hallo_world.vi:9:21 - cannot find `world` in `::hallo_world::main` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
error tests/programs/fail/missing_no.vi:2:1 - cannot read file `tests/programs/fail/no.vi`: No such file or directory (os error 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters