trpl-zh-cn/listings/ch09-error-handling/listing-09-04/output.txt

8 lines
413 B
Plaintext
Raw Normal View History

2022-02-06 16:43:51 +08:00
$ cargo run
Compiling error-handling v0.1.0 (file:///projects/error-handling)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s
2022-02-06 16:43:51 +08:00
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" }
2022-02-06 16:43:51 +08:00
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace