Skip to content

Commit a48094d

Browse files
Update rustc --explain sentence
1 parent bedbad6 commit a48094d

File tree

1,039 files changed

+1162
-1164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,039 files changed

+1162
-1164
lines changed

src/librustc_errors/emitter.rs

+4-6
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,16 @@ impl Drop for EmitterWriter {
124124
if error_codes.len() > 1 {
125125
let limit = if error_codes.len() > 9 { 9 } else { error_codes.len() };
126126
writeln!(self.dst,
127-
"You've got a few errors: {}{}",
127+
"Some errors occurred: {}{}",
128128
error_codes[..limit].join(", "),
129-
if error_codes.len() > 9 { "..." } else { "" }
129+
if error_codes.len() > 9 { "..." } else { "." }
130130
).expect("failed to give tips...");
131131
writeln!(self.dst,
132-
"If you want more information on an error, try using \
133-
\"rustc --explain {}\"",
132+
"For more information about an error, try `rustc --explain {}`.",
134133
&error_codes[0]).expect("failed to give tips...");
135134
} else {
136135
writeln!(self.dst,
137-
"If you want more information on this error, try using \
138-
\"rustc --explain {}\"",
136+
"For more information about this error, try `rustc --explain {}`.",
139137
&error_codes[0]).expect("failed to give tips...");
140138
}
141139
self.dst.flush().expect("failed to emit errors");

src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
2121

2222
error: aborting due to 2 previous errors
2323

24-
If you want more information on this error, try using "rustc --explain E0453"
24+
For more information about this error, try `rustc --explain E0453`.

src/test/ui-fulldeps/proc-macro/signature.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ error[E0308]: mismatched types
1212

1313
error: aborting due to previous error
1414

15-
If you want more information on this error, try using "rustc --explain E0308"
15+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/anonymous-higher-ranked-lifetime.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ note: required by `h2`
154154

155155
error: aborting due to 11 previous errors
156156

157-
If you want more information on this error, try using "rustc --explain E0631"
157+
For more information about this error, try `rustc --explain E0631`.

src/test/ui/arbitrary-self-types-not-object-safe.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ error[E0038]: the trait `Foo` cannot be made into an object
1717

1818
error: aborting due to 2 previous errors
1919

20-
If you want more information on this error, try using "rustc --explain E0038"
20+
For more information about this error, try `rustc --explain E0038`.

src/test/ui/asm-out-assign-imm.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0384]: cannot assign twice to immutable variable `x`
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0384"
12+
For more information about this error, try `rustc --explain E0384`.

src/test/ui/associated-const-impl-wrong-lifetime.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ note: the lifetime 'a as defined on the impl at 17:1...
1515

1616
error: aborting due to previous error
1717

18-
If you want more information on this error, try using "rustc --explain E0308"
18+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/associated-const-impl-wrong-type.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0326]: implemented const `BAR` has an incompatible type for trait
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0326"
12+
For more information about this error, try `rustc --explain E0326`.

src/test/ui/associated-type-projection-from-multiple-supertraits.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ error[E0221]: ambiguous associated type `Color` in bounds of `C`
4242

4343
error: aborting due to 4 previous errors
4444

45-
You've got a few errors: E0191, E0221
46-
If you want more information on an error, try using "rustc --explain E0191"
45+
Some errors occurred: E0191, E0221.
46+
For more information about an error, try `rustc --explain E0191`.

src/test/ui/associated-types-ICE-when-projecting-out-of-err.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ error[E0277]: the trait bound `(): Add<A>` is not satisfied
66

77
error: aborting due to previous error
88

9-
If you want more information on this error, try using "rustc --explain E0277"
9+
For more information about this error, try `rustc --explain E0277`.

src/test/ui/associated-types-in-ambiguous-context.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ error[E0223]: ambiguous associated type
2424

2525
error: aborting due to 3 previous errors
2626

27-
If you want more information on this error, try using "rustc --explain E0223"
27+
For more information about this error, try `rustc --explain E0223`.

src/test/ui/attr-usage-repr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ error[E0517]: attribute should be applied to struct
4040

4141
error: aborting due to 5 previous errors
4242

43-
If you want more information on this error, try using "rustc --explain E0517"
43+
For more information about this error, try `rustc --explain E0517`.

src/test/ui/augmented-assignments.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ error[E0382]: use of moved value: `x`
2020

2121
error: aborting due to 2 previous errors
2222

23-
You've got a few errors: E0382, E0596
24-
If you want more information on an error, try using "rustc --explain E0382"
23+
Some errors occurred: E0382, E0596.
24+
For more information about an error, try `rustc --explain E0382`.

src/test/ui/binary-op-on-double-ref.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0369]: binary operation `%` cannot be applied to type `&&{integer}`
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0369"
12+
For more information about this error, try `rustc --explain E0369`.

src/test/ui/blind-item-item-shadow.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ help: You can use `as` to change the binding name of the import
1515

1616
error: aborting due to previous error
1717

18-
If you want more information on this error, try using "rustc --explain E0255"
18+
For more information about this error, try `rustc --explain E0255`.

src/test/ui/block-result/block-must-not-have-result-do.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0308]: mismatched types
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0308"
12+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/block-must-not-have-result-res.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ error[E0308]: mismatched types
1111

1212
error: aborting due to previous error
1313

14-
If you want more information on this error, try using "rustc --explain E0308"
14+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/block-must-not-have-result-while.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0308]: mismatched types
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0308"
12+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/consider-removing-last-semi.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ error[E0308]: mismatched types
2828

2929
error: aborting due to 2 previous errors
3030

31-
If you want more information on this error, try using "rustc --explain E0308"
31+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/issue-11714.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ error[E0308]: mismatched types
1515

1616
error: aborting due to previous error
1717

18-
If you want more information on this error, try using "rustc --explain E0308"
18+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/issue-13428.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ error[E0308]: mismatched types
3131

3232
error: aborting due to 2 previous errors
3333

34-
If you want more information on this error, try using "rustc --explain E0308"
34+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/issue-13624.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ error[E0308]: mismatched types
2020

2121
error: aborting due to 2 previous errors
2222

23-
If you want more information on this error, try using "rustc --explain E0308"
23+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/issue-20862.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ error[E0618]: expected function, found `()`
1717

1818
error: aborting due to 2 previous errors
1919

20-
You've got a few errors: E0308, E0618
21-
If you want more information on an error, try using "rustc --explain E0308"
20+
Some errors occurred: E0308, E0618.
21+
For more information about an error, try `rustc --explain E0308`.

src/test/ui/block-result/issue-22645.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ error[E0308]: mismatched types
2222

2323
error: aborting due to 2 previous errors
2424

25-
You've got a few errors: E0277, E0308
26-
If you want more information on an error, try using "rustc --explain E0277"
25+
Some errors occurred: E0277, E0308.
26+
For more information about an error, try `rustc --explain E0277`.

src/test/ui/block-result/issue-3563.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0599]: no method named `b` found for type `&Self` in the current scope
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0599"
11+
For more information about this error, try `rustc --explain E0599`.

src/test/ui/block-result/issue-5500.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ error[E0308]: mismatched types
1111

1212
error: aborting due to previous error
1313

14-
If you want more information on this error, try using "rustc --explain E0308"
14+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/block-result/unexpected-return-on-unit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ help: try adding a return type
1717

1818
error: aborting due to previous error
1919

20-
If you want more information on this error, try using "rustc --explain E0308"
20+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/bogus-tag.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0599]: no variant named `hsl` found for type `color` in the current scope
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0599"
12+
For more information about this error, try `rustc --explain E0599`.

src/test/ui/borrowck/borrowck-box-insensitivity.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,5 @@ error[E0502]: cannot borrow `a.y` as mutable because `a.x.x` is also borrowed as
161161

162162
error: aborting due to 16 previous errors
163163

164-
You've got a few errors: E0382, E0502, E0503, E0505
165-
If you want more information on an error, try using "rustc --explain E0382"
164+
Some errors occurred: E0382, E0502, E0503, E0505.
165+
For more information about an error, try `rustc --explain E0382`.

src/test/ui/borrowck/borrowck-closures-two-mut.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time (Mir)
150150

151151
error: aborting due to 10 previous errors
152152

153-
If you want more information on this error, try using "rustc --explain E0499"
153+
For more information about this error, try `rustc --explain E0499`.

src/test/ui/borrowck/borrowck-escaping-closure-error-1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ help: to force the closure to take ownership of `books` (and any other reference
1212

1313
error: aborting due to previous error
1414

15-
If you want more information on this error, try using "rustc --explain E0373"
15+
For more information about this error, try `rustc --explain E0373`.

src/test/ui/borrowck/borrowck-escaping-closure-error-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ help: to force the closure to take ownership of `books` (and any other reference
1212

1313
error: aborting due to previous error
1414

15-
If you want more information on this error, try using "rustc --explain E0373"
15+
For more information about this error, try `rustc --explain E0373`.

src/test/ui/borrowck/borrowck-in-static.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0507"
11+
For more information about this error, try `rustc --explain E0507`.

src/test/ui/borrowck/borrowck-move-error-with-note.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ error[E0507]: cannot move out of borrowed content
3434

3535
error: aborting due to 3 previous errors
3636

37-
You've got a few errors: E0507, E0509
38-
If you want more information on an error, try using "rustc --explain E0507"
37+
Some errors occurred: E0507, E0509.
38+
For more information about an error, try `rustc --explain E0507`.

src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ error[E0508]: cannot move out of type `[Foo]`, a non-copy slice
1515

1616
error: aborting due to previous error
1717

18-
If you want more information on this error, try using "rustc --explain E0508"
18+
For more information about this error, try `rustc --explain E0508`.

src/test/ui/borrowck/borrowck-reinit.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ error[E0382]: use of moved value: `x` (Mir)
2020

2121
error: aborting due to 2 previous errors
2222

23-
If you want more information on this error, try using "rustc --explain E0382"
23+
For more information about this error, try `rustc --explain E0382`.

src/test/ui/borrowck/borrowck-report-with-custom-diagnostic.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time
3636

3737
error: aborting due to 3 previous errors
3838

39-
You've got a few errors: E0499, E0502
40-
If you want more information on an error, try using "rustc --explain E0499"
39+
Some errors occurred: E0499, E0502.
40+
For more information about an error, try `rustc --explain E0499`.

src/test/ui/borrowck/borrowck-vec-pattern-nesting.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ error[E0508]: cannot move out of type `[std::boxed::Box<isize>]`, a non-copy sli
8080

8181
error: aborting due to 8 previous errors
8282

83-
You've got a few errors: E0506, E0508
84-
If you want more information on an error, try using "rustc --explain E0506"
83+
Some errors occurred: E0506, E0508.
84+
For more information about an error, try `rustc --explain E0506`.

src/test/ui/borrowck/immutable-arg.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ error[E0384]: cannot assign to immutable argument `_x` (Mir)
1616

1717
error: aborting due to 2 previous errors
1818

19-
If you want more information on this error, try using "rustc --explain E0384"
19+
For more information about this error, try `rustc --explain E0384`.

src/test/ui/borrowck/issue-41962.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ error[E0382]: use of moved value: `maybe.0` (Mir)
5454

5555
error: aborting due to 5 previous errors
5656

57-
If you want more information on this error, try using "rustc --explain E0382"
57+
For more information about this error, try `rustc --explain E0382`.

src/test/ui/borrowck/mut-borrow-in-loop.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ error[E0499]: cannot borrow `*arg` as mutable more than once at a time
2727

2828
error: aborting due to 3 previous errors
2929

30-
If you want more information on this error, try using "rustc --explain E0499"
30+
For more information about this error, try `rustc --explain E0499`.

src/test/ui/borrowck/mut-borrow-outside-loop.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ error[E0499]: cannot borrow `inner_void` as mutable more than once at a time
2121

2222
error: aborting due to 2 previous errors
2323

24-
If you want more information on this error, try using "rustc --explain E0499"
24+
For more information about this error, try `rustc --explain E0499`.

src/test/ui/borrowck/regions-bound-missing-bound-in-impl.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ error[E0276]: impl has stricter requirements than trait
4646

4747
error: aborting due to 4 previous errors
4848

49-
You've got a few errors: E0195, E0276, E0308
50-
If you want more information on an error, try using "rustc --explain E0195"
49+
Some errors occurred: E0195, E0276, E0308.
50+
For more information about an error, try `rustc --explain E0195`.

src/test/ui/borrowck/unboxed-closures-move-upvar-from-non-once-ref-closure.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0507]: cannot move out of captured outer variable in an `Fn` closure
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0507"
12+
For more information about this error, try `rustc --explain E0507`.

src/test/ui/cast-as-bool.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0054]: cannot cast as `bool`
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0054"
11+
For more information about this error, try `rustc --explain E0054`.

src/test/ui/cast-errors-issue-43825.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ error[E0425]: cannot find value `error` in this scope
66

77
error: aborting due to previous error
88

9-
If you want more information on this error, try using "rustc --explain E0425"
9+
For more information about this error, try `rustc --explain E0425`.

src/test/ui/cast-rfc0401-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0054]: cannot cast as `bool`
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0054"
11+
For more information about this error, try `rustc --explain E0054`.

src/test/ui/cast-to-unsized-trait-object-suggestion.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ error[E0620]: cast to unsized type: `std::boxed::Box<{integer}>` as `std::marker
1616

1717
error: aborting due to 2 previous errors
1818

19-
If you want more information on this error, try using "rustc --explain E0620"
19+
For more information about this error, try `rustc --explain E0620`.

src/test/ui/casts-differing-anon.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0606]: casting `*mut impl std::fmt::Debug+?Sized` as `*mut impl std::fmt:
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0606"
11+
For more information about this error, try `rustc --explain E0606`.

src/test/ui/casts-issue-46365.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ error[E0412]: cannot find type `Ipsum` in this scope
66

77
error: aborting due to previous error
88

9-
If you want more information on this error, try using "rustc --explain E0412"
9+
For more information about this error, try `rustc --explain E0412`.

src/test/ui/changing-crates.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ error[E0460]: found possibly newer version of crate `a` which `b` depends on
1111

1212
error: aborting due to previous error
1313

14-
If you want more information on this error, try using "rustc --explain E0460"
14+
For more information about this error, try `rustc --explain E0460`.

src/test/ui/check_match/issue-35609.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ error[E0004]: non-exhaustive patterns: `Some(B)`, `Some(C)`, `Some(D)` and 2 mor
4848

4949
error: aborting due to 8 previous errors
5050

51-
If you want more information on this error, try using "rustc --explain E0004"
51+
For more information about this error, try `rustc --explain E0004`.

src/test/ui/closure-expected-type/expect-region-supply-region.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ error: borrowed data cannot be stored outside of its closure
8484

8585
error: aborting due to 5 previous errors
8686

87-
If you want more information on this error, try using "rustc --explain E0308"
87+
For more information about this error, try `rustc --explain E0308`.

src/test/ui/closure_context/issue-26046-fn-mut.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ error[E0525]: expected a closure that implements the `Fn` trait, but this closur
1111

1212
error: aborting due to previous error
1313

14-
If you want more information on this error, try using "rustc --explain E0525"
14+
For more information about this error, try `rustc --explain E0525`.

src/test/ui/closure_context/issue-26046-fn-once.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ error[E0525]: expected a closure that implements the `Fn` trait, but this closur
1111

1212
error: aborting due to previous error
1313

14-
If you want more information on this error, try using "rustc --explain E0525"
14+
For more information about this error, try `rustc --explain E0525`.

src/test/ui/closure_context/issue-42065.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ note: closure cannot be invoked more than once because it moves the variable `di
1414

1515
error: aborting due to previous error
1616

17-
If you want more information on this error, try using "rustc --explain E0382"
17+
For more information about this error, try `rustc --explain E0382`.

src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0592]: duplicate definitions with name `f`
88

99
error: aborting due to previous error
1010

11-
If you want more information on this error, try using "rustc --explain E0592"
11+
For more information about this error, try `rustc --explain E0592`.

src/test/ui/codemap_tests/empty_span.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`,
66

77
error: aborting due to previous error
88

9-
If you want more information on this error, try using "rustc --explain E0321"
9+
For more information about this error, try `rustc --explain E0321`.

src/test/ui/codemap_tests/huge_multispan_highlight.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ error[E0596]: cannot borrow immutable local variable `x` as mutable
99

1010
error: aborting due to previous error
1111

12-
If you want more information on this error, try using "rustc --explain E0596"
12+
For more information about this error, try `rustc --explain E0596`.

src/test/ui/codemap_tests/issue-11715.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ error[E0499]: cannot borrow `x` as mutable more than once at a time
1010

1111
error: aborting due to previous error
1212

13-
If you want more information on this error, try using "rustc --explain E0499"
13+
For more information about this error, try `rustc --explain E0499`.

0 commit comments

Comments
 (0)