]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-35241.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-35241.stderr
index 9ee7654a0885d836fb6c42292af24c1827807681..42a78ed97e02524c9f0b710bfe5b9d4559d0f855 100644 (file)
@@ -11,7 +11,7 @@ LL | fn test() -> Foo { Foo }
    |
    = note: expected struct `Foo`
              found fn item `fn(u32) -> Foo {Foo}`
-help: use parentheses to instantiate this tuple struct
+help: use parentheses to construct this tuple struct
    |
 LL | fn test() -> Foo { Foo(/* u32 */) }
    |                       +++++++++++