]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/chalkify/type_wf.stderr
Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank
[rust.git] / src / test / ui / chalkify / type_wf.stderr
index 7f8566082cd262a4afa3510c67e6997cc64f9832..6e8daf635175fbf62fe080c81445cc5b73245a92 100644 (file)
@@ -1,8 +1,8 @@
 error[E0277]: the trait bound `{float}: Foo` is not satisfied
-  --> $DIR/type_wf.rs:18:13
+  --> $DIR/type_wf.rs:19:12
    |
-LL |     let s = S {
-   |             ^ the trait `Foo` is not implemented for `{float}`
+LL |         x: 5.0,
+   |            ^^^ the trait `Foo` is not implemented for `{float}`
    |
    = help: the trait `Foo` is implemented for `i32`
 note: required by a bound in `S`