diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-06-24 19:10:15 -0400 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-06-24 19:10:15 -0400 |
| commit | bc1400600be083cfb39ffdc6f6b32153e585cd3c (patch) | |
| tree | 27e265d6d0071a878d74d63e94938213c0c984b7 /src/libsyntax/lib.rs | |
| parent | 9f2a50785b2b01f58c08d3c23add09e2596dfd5a (diff) | |
| download | rust-bc1400600be083cfb39ffdc6f6b32153e585cd3c.tar.gz rust-bc1400600be083cfb39ffdc6f6b32153e585cd3c.zip | |
reexport errors from syntax. fix failing cfail test
Diffstat (limited to 'src/libsyntax/lib.rs')
| -rw-r--r-- | src/libsyntax/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 91e55c07d9b..ae61801c65b 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -40,11 +40,12 @@ extern crate libc; #[macro_use] extern crate log; #[macro_use] #[no_link] extern crate rustc_bitflags; extern crate rustc_unicode; -extern crate rustc_errors as errors; +pub extern crate rustc_errors as errors; extern crate syntax_pos; extern crate serialize as rustc_serialize; // used by deriving + // A variant of 'try!' that panics on an Err. This is used as a crutch on the // way towards a non-panic!-prone parser. It should be used for fatal parsing // errors; eventually we plan to convert all code using panictry to just use |
