about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-27 16:15:40 +0000
committerbors <bors@rust-lang.org>2019-10-27 16:15:40 +0000
commit95f437b3cfb2fec966d7eaf69d7c2e36f9c274d1 (patch)
tree1dad208402573cc80f29f813948c3bea01cdd775 /src/libsyntax
parent0f677c65e867d93a47ccbaeaf6e6725cde8c5ff6 (diff)
parentb5b4f9b3041ba4ec72bced538d69e4cd26a01735 (diff)
downloadrust-95f437b3cfb2fec966d7eaf69d7c2e36f9c274d1.tar.gz
rust-95f437b3cfb2fec966d7eaf69d7c2e36f9c274d1.zip
Auto merge of #65869 - Centril:rollup-bzlo74f, r=Centril
Rollup of 6 pull requests

Successful merges:

 - #65566 (Use heuristics to suggest assignment)
 - #65738 (Coherence should allow fundamental types to impl traits when they are local)
 - #65777 (Don't ICE for completely unexpandable `impl Trait` types)
 - #65834 (Remove lint callback from driver)
 - #65839 (Clean up `check_consts` now that new promotion pass is implemented)
 - #65855 (Add long error explaination for E0666)

Failed merges:

r? @ghost
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/parser/stmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/stmt.rs b/src/libsyntax/parse/parser/stmt.rs
index d54d9c4b8e9..ea7e4c05ea1 100644
--- a/src/libsyntax/parse/parser/stmt.rs
+++ b/src/libsyntax/parse/parser/stmt.rs
@@ -239,7 +239,7 @@ impl<'a> Parser<'a> {
                 err.span_suggestion_short(
                     colon_sp,
                     "use `=` if you meant to assign",
-                    "=".to_string(),
+                    " =".to_string(),
                     Applicability::MachineApplicable
                 );
                 err.emit();