summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0283.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0283.stderr')
-rw-r--r--tests/ui/error-codes/E0283.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/error-codes/E0283.stderr b/tests/ui/error-codes/E0283.stderr
index 90316c6e9..89e634a70 100644
--- a/tests/ui/error-codes/E0283.stderr
+++ b/tests/ui/error-codes/E0283.stderr
@@ -9,8 +9,8 @@ LL | let cont: u32 = Generator::create();
|
help: use a fully-qualified path to a specific available implementation (2 found)
|
-LL | let cont: u32 = <Impl as Generator>::create();
- | ++++++++ +
+LL | let cont: u32 = </* self type */ as Generator>::create();
+ | +++++++++++++++++++ +
error[E0283]: type annotations needed
--> $DIR/E0283.rs:35:24