about summary refs log tree commit diff
path: root/src/test/ui/methods/method-call-err-msg.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2022-07-01 16:47:26 -0700
committerEsteban Küber <esteban@kuber.com.ar>2022-07-07 12:15:12 -0700
commitaf10a456c19c447ff2bff585537d52a8d532bd86 (patch)
treedfb4e9c247c42c7c495430f03b9bdda1013e749f /src/test/ui/methods/method-call-err-msg.stderr
parentd5642acfe689ca704b8572ea8ca88e43aeb70a11 (diff)
downloadrust-af10a456c19c447ff2bff585537d52a8d532bd86.tar.gz
rust-af10a456c19c447ff2bff585537d52a8d532bd86.zip
Track implicit `Sized` obligations in type params
Suggest adding a `?Sized` bound if appropriate on E0599 by inspecting
the HIR Generics. (Fix #98539)
Diffstat (limited to 'src/test/ui/methods/method-call-err-msg.stderr')
-rw-r--r--src/test/ui/methods/method-call-err-msg.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.stderr b/src/test/ui/methods/method-call-err-msg.stderr
index 4be588fe7f9..690fe8fa7af 100644
--- a/src/test/ui/methods/method-call-err-msg.stderr
+++ b/src/test/ui/methods/method-call-err-msg.stderr
@@ -51,8 +51,8 @@ error[E0599]: `Foo` is not an iterator
    |
 LL | pub struct Foo;
    | --------------
-   | |          |
-   | |          method `take` not found for this struct
+   | |
+   | method `take` not found for this struct
    | doesn't satisfy `Foo: Iterator`
 ...
 LL |      .take()