about summary refs log tree commit diff
path: root/tests/ui/span
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2025-01-08 21:05:35 +0000
committerBoxy <rust@boxyuwu.dev>2025-01-23 06:01:36 +0000
commit6833c27090d5022457bef8dd1af3cd4c5aa9ff3b (patch)
tree75f3e83fa6332f1ccbbef3e0c2a60368d207dd14 /tests/ui/span
parent04d141b1fc17929b4b4f994a007335f9871bdb25 (diff)
downloadrust-6833c27090d5022457bef8dd1af3cd4c5aa9ff3b.tar.gz
rust-6833c27090d5022457bef8dd1af3cd4c5aa9ff3b.zip
Bless and add tests
Diffstat (limited to 'tests/ui/span')
-rw-r--r--tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr b/tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr
index a4b65256574..6559845c23e 100644
--- a/tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr
+++ b/tests/ui/span/issue-42234-unknown-receiver-type.generic_arg.stderr
@@ -17,10 +17,6 @@ error[E0282]: type annotations needed
 LL |         .sum::<_>()
    |          ^^^ cannot infer type of the type parameter `S` declared on the method `sum`
    |
-help: consider specifying the generic argument
-   |
-LL |         .sum::<S>()
-   |             ~~~~~
 
 error: aborting due to 2 previous errors