rustdoc: Update tests for rustc diagnostic changes
This commit is contained in:
parent
0886b69b76
commit
45a668c439
|
@ -343,10 +343,11 @@ mod test {
|
|||
import rustc::driver::diagnostic;
|
||||
|
||||
let cm = rustc::syntax::codemap::new_codemap();
|
||||
let handler = diagnostic::mk_handler(none);
|
||||
let parse_sess = @{
|
||||
cm: cm,
|
||||
mutable next_id: 0,
|
||||
diagnostic: diagnostic::mk_handler(cm, none),
|
||||
span_diagnostic: diagnostic::mk_span_handler(handler, cm),
|
||||
mutable chpos: 0u,
|
||||
mutable byte_pos: 0u
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue