Rename many DiagCtxt
arguments.
This commit is contained in:
parent
4dc7fab56f
commit
f422dca3ae
44 changed files with 317 additions and 353 deletions
|
@ -230,9 +230,9 @@ impl ParseSess {
|
|||
ParseSess::with_dcx(handler, sm)
|
||||
}
|
||||
|
||||
pub fn with_dcx(handler: DiagCtxt, source_map: Lrc<SourceMap>) -> Self {
|
||||
pub fn with_dcx(dcx: DiagCtxt, source_map: Lrc<SourceMap>) -> Self {
|
||||
Self {
|
||||
dcx: handler,
|
||||
dcx,
|
||||
unstable_features: UnstableFeatures::from_environment(None),
|
||||
config: Cfg::default(),
|
||||
check_config: CheckCfg::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue