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 {
1414 foreign_links {
1515 Io ( io:: Error ) #[ doc = "Error during IO" ] ;
1616 }
17-
17+
1818 errors {
1919 Launch ( phase: LaunchStage ) {
2020 description( "An error occurred during startup" )
2121 display( "Startup aborted: {:?} did not complete successfully" , phase)
2222 }
23-
23+
2424 ConfigLoad ( path: String ) {
2525 description( "Config file not found" )
2626 display( "Unable to read file `{}`" , path)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ fn alternative_main() {
6363
6464// Use this macro to auto-generate the main above. You may want to
6565// set the `RUST_BACKTRACE` env variable to see a backtrace.
66- //quick_main!(run);
66+ // quick_main!(run);
6767
6868
6969// Most functions will return the `Result` type, imported from the
Original file line number Diff line number Diff line change 11#![ allow( dead_code) ]
2- //#![feature(trace_macros)]
3- //
4- //trace_macros!(true);
52
63#[ macro_use]
74extern crate error_chain;
@@ -568,7 +565,7 @@ fn types_declarations() {
568565
569566#[ test]
570567/// 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.
572569fn rewrapping ( ) {
573570
574571 use std:: env:: VarError :: { self , NotPresent , NotUnicode } ;
You can’t perform that action at this time.
0 commit comments