Remove ExtCtxt
methods that duplicate DiagCtxt
methods.
This commit is contained in:
parent
5eccfc388e
commit
d86a48278f
33 changed files with 155 additions and 180 deletions
|
@ -21,7 +21,7 @@ pub fn expand_trace_macros(
|
|||
};
|
||||
err |= cursor.next().is_some();
|
||||
if err {
|
||||
cx.emit_err(errors::TraceMacros { span: sp });
|
||||
cx.dcx().emit_err(errors::TraceMacros { span: sp });
|
||||
} else {
|
||||
cx.set_trace_macros(value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue