about summary refs log tree commit diff
path: root/src/test/ui/proc-macro
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-02-04 13:59:23 -0800
committerEsteban Küber <esteban@kuber.com.ar>2021-02-21 16:27:29 -0800
commit020edd91a911cebf8aeada9f04dff047dc76171e (patch)
treec89ef48189e9b38f0bb4dbbfb3ff1172bf3c1658 /src/test/ui/proc-macro
parent796ce9fcb7e35767e6e57ad79099dcf730a0a94b (diff)
downloadrust-020edd91a911cebf8aeada9f04dff047dc76171e.tar.gz
rust-020edd91a911cebf8aeada9f04dff047dc76171e.zip
reword `;` suggestions to have consistent wording
Diffstat (limited to 'src/test/ui/proc-macro')
-rw-r--r--src/test/ui/proc-macro/issue-37788.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/proc-macro/issue-37788.stderr b/src/test/ui/proc-macro/issue-37788.stderr
index 05387012902..345520d4852 100644
--- a/src/test/ui/proc-macro/issue-37788.stderr
+++ b/src/test/ui/proc-macro/issue-37788.stderr
@@ -5,7 +5,7 @@ LL | fn main() {
    |           - expected `()` because of default return type
 LL |     // Test that constructing the `visible_parent_map` (in `cstore_impl.rs`) does not ICE.
 LL |     std::cell::Cell::new(0)
-   |     ^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;`
+   |     ^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
    |     |
    |     expected `()`, found struct `Cell`
    |