mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
413 B
8 lines
413 B
$ cargo run
|
|
Compiling error-handling v0.1.0 (file:///projects/error-handling)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s
|
|
Running `target/debug/error-handling`
|
|
thread 'main' panicked at src/main.rs:8:23:
|
|
Problem opening the file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|