Skip to content

Commit 0ae3d87

Browse files
authored
Rollup merge of rust-lang#57890 - feinorgh:fix-diagnostics-typo, r=zackmdavis
Fix wording in diagnostics page Fix a tiny wording error in the diagnostics text for E0070.
2 parents 7768358 + af153ce commit 0ae3d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ function's return type and the value being returned.
763763
"##,
764764

765765
E0070: r##"
766-
The left-hand side of an assignment operator must be a place expression. An
766+
The left-hand side of an assignment operator must be a place expression. A
767767
place expression represents a memory location and can be a variable (with
768768
optional namespacing), a dereference, an indexing expression or a field
769769
reference.

0 commit comments

Comments
 (0)