about summary refs log tree commit diff
path: root/src/test/ui/specialization
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/specialization
parent796ce9fcb7e35767e6e57ad79099dcf730a0a94b (diff)
downloadrust-020edd91a911cebf8aeada9f04dff047dc76171e.tar.gz
rust-020edd91a911cebf8aeada9f04dff047dc76171e.zip
reword `;` suggestions to have consistent wording
Diffstat (limited to 'src/test/ui/specialization')
-rw-r--r--src/test/ui/specialization/specialization-default-projection.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/specialization/specialization-default-projection.stderr b/src/test/ui/specialization/specialization-default-projection.stderr
index 445bc1646f0..7a2b75a1c1f 100644
--- a/src/test/ui/specialization/specialization-default-projection.stderr
+++ b/src/test/ui/specialization/specialization-default-projection.stderr
@@ -29,7 +29,7 @@ LL | fn monomorphic() -> () {
    |                     -- expected `()` because of return type
 ...
 LL |     generic::<()>()
-   |     ^^^^^^^^^^^^^^^- help: try adding a semicolon: `;`
+   |     ^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
    |     |
    |     expected `()`, found associated type
    |