@@ -42,7 +42,7 @@ pub struct JsonEmitter {
42
42
pretty : bool ,
43
43
ui_testing : bool ,
44
44
json_rendered : HumanReadableErrorType ,
45
- output_width : Option < usize > ,
45
+ diagnostic_width : Option < usize > ,
46
46
macro_backtrace : bool ,
47
47
}
48
48
@@ -54,7 +54,7 @@ impl JsonEmitter {
54
54
fallback_bundle : LazyFallbackBundle ,
55
55
pretty : bool ,
56
56
json_rendered : HumanReadableErrorType ,
57
- output_width : Option < usize > ,
57
+ diagnostic_width : Option < usize > ,
58
58
macro_backtrace : bool ,
59
59
) -> JsonEmitter {
60
60
JsonEmitter {
@@ -66,7 +66,7 @@ impl JsonEmitter {
66
66
pretty,
67
67
ui_testing : false ,
68
68
json_rendered,
69
- output_width ,
69
+ diagnostic_width ,
70
70
macro_backtrace,
71
71
}
72
72
}
@@ -76,7 +76,7 @@ impl JsonEmitter {
76
76
json_rendered : HumanReadableErrorType ,
77
77
fluent_bundle : Option < Lrc < FluentBundle > > ,
78
78
fallback_bundle : LazyFallbackBundle ,
79
- output_width : Option < usize > ,
79
+ diagnostic_width : Option < usize > ,
80
80
macro_backtrace : bool ,
81
81
) -> JsonEmitter {
82
82
let file_path_mapping = FilePathMapping :: empty ( ) ;
@@ -87,7 +87,7 @@ impl JsonEmitter {
87
87
fallback_bundle,
88
88
pretty,
89
89
json_rendered,
90
- output_width ,
90
+ diagnostic_width ,
91
91
macro_backtrace,
92
92
)
93
93
}
@@ -100,7 +100,7 @@ impl JsonEmitter {
100
100
fallback_bundle : LazyFallbackBundle ,
101
101
pretty : bool ,
102
102
json_rendered : HumanReadableErrorType ,
103
- output_width : Option < usize > ,
103
+ diagnostic_width : Option < usize > ,
104
104
macro_backtrace : bool ,
105
105
) -> JsonEmitter {
106
106
JsonEmitter {
@@ -112,7 +112,7 @@ impl JsonEmitter {
112
112
pretty,
113
113
ui_testing : false ,
114
114
json_rendered,
115
- output_width ,
115
+ diagnostic_width ,
116
116
macro_backtrace,
117
117
}
118
118
}
@@ -345,7 +345,7 @@ impl Diagnostic {
345
345
je. fluent_bundle . clone ( ) ,
346
346
je. fallback_bundle . clone ( ) ,
347
347
false ,
348
- je. output_width ,
348
+ je. diagnostic_width ,
349
349
je. macro_backtrace ,
350
350
)
351
351
. ui_testing ( je. ui_testing )
0 commit comments