diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-13 19:00:09 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-14 15:14:43 -0800 |
| commit | e4849d5e5dd1d016e79e7d220fdbffeb2b7f887e (patch) | |
| tree | c8372197ad6da15285e465283ab6250aaf404a8b /src/cargo | |
| parent | 7cbd90f50110699f616fd89d680dae3b0ca3a2ce (diff) | |
rustc: Allow a custom diagnostic emitter when building the handler
Diffstat (limited to 'src/cargo')
| -rw-r--r-- | src/cargo/cargo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargo/cargo.rs b/src/cargo/cargo.rs index aac5339a540..eeab4a85c82 100644 --- a/src/cargo/cargo.rs +++ b/src/cargo/cargo.rs @@ -104,7 +104,7 @@ fn load_pkg(filename: str) -> option::t<pkg> { let sess = @{ cm: cm, mutable next_id: 0, - diagnostic: diagnostic::mk_codemap_handler(cm) + diagnostic: diagnostic::mk_codemap_handler(cm, none) }; let c = parser::parse_crate_from_crate_file(filename, [], sess); |
