This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ mod errors {
14
14
foreign_links {
15
15
Io ( io:: Error ) #[ doc = "Error during IO" ] ;
16
16
}
17
-
17
+
18
18
errors {
19
19
Launch ( phase: LaunchStage ) {
20
20
description( "An error occurred during startup" )
21
21
display( "Startup aborted: {:?} did not complete successfully" , phase)
22
22
}
23
-
23
+
24
24
ConfigLoad ( path: String ) {
25
25
description( "Config file not found" )
26
26
display( "Unable to read file `{}`" , path)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ fn alternative_main() {
63
63
64
64
// Use this macro to auto-generate the main above. You may want to
65
65
// set the `RUST_BACKTRACE` env variable to see a backtrace.
66
- //quick_main!(run);
66
+ // quick_main!(run);
67
67
68
68
69
69
// Most functions will return the `Result` type, imported from the
Original file line number Diff line number Diff line change 1
1
#![ allow( dead_code) ]
2
- //#![feature(trace_macros)]
3
- //
4
- //trace_macros!(true);
5
2
6
3
#[ macro_use]
7
4
extern crate error_chain;
@@ -568,7 +565,7 @@ fn types_declarations() {
568
565
569
566
#[ test]
570
567
/// Calling chain_err over a `Result` containing an error to get a chained error
571
- //// and constructing a MyError directly, passing it an error should be equivalent.
568
+ /// and constructing a MyError directly, passing it an error should be equivalent.
572
569
fn rewrapping ( ) {
573
570
574
571
use std:: env:: VarError :: { self , NotPresent , NotUnicode } ;
You can’t perform that action at this time.
0 commit comments