Skip to content

Commit

Permalink
Rollup merge of rust-lang#57890 - feinorgh:fix-diagnostics-typo, r=za…
Browse files Browse the repository at this point in the history
…ckmdavis

Fix wording in diagnostics page

Fix a tiny wording error in the diagnostics text for E0070.
  • Loading branch information
Centril authored Jan 25, 2019
2 parents 7768358 + af153ce commit 0ae3d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ function's return type and the value being returned.
"##,

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

0 comments on commit 0ae3d87

Please sign in to comment.