summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr')
-rw-r--r--src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr b/src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr
deleted file mode 100644
index 2b1789908..000000000
--- a/src/test/ui/span/issue-42234-unknown-receiver-type.full.stderr
+++ /dev/null
@@ -1,27 +0,0 @@
-error[E0282]: type annotations needed
- --> $DIR/issue-42234-unknown-receiver-type.rs:9:24
- |
-LL | let x: Option<_> = None;
- | ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option`
-LL | x.unwrap().method_that_could_exist_on_some_type();
- | ---------- type must be known at this point
- |
-help: consider specifying the generic argument
- |
-LL | let x: Option<_> = None::<T>;
- | +++++
-
-error[E0282]: type annotations needed
- --> $DIR/issue-42234-unknown-receiver-type.rs:15:10
- |
-LL | .sum::<_>()
- | ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum`
- |
-help: consider specifying the generic argument
- |
-LL | .sum::<_>()
- | ~~~~~
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0282`.