Add scaffolding for assigning alpha-numeric codes to rustc diagnostics
This commit is contained in:
parent
7ab9bfab4e
commit
9b9cce2316
25 changed files with 468 additions and 86 deletions
|
@ -40,7 +40,7 @@ pub struct ParseSess {
|
|||
|
||||
pub fn new_parse_sess() -> ParseSess {
|
||||
ParseSess {
|
||||
span_diagnostic: mk_span_handler(default_handler(Auto), CodeMap::new()),
|
||||
span_diagnostic: mk_span_handler(default_handler(Auto, None), CodeMap::new()),
|
||||
included_mod_stack: RefCell::new(Vec::new()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue