]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/adt-param-with-implicit-sized-bound.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / suggestions / adt-param-with-implicit-sized-bound.stderr
index 9450612332caa1f1fa63b401c048d9d736c49c7e..9437fbe61cc7e94ca92ea364c2b41335908c5af6 100644 (file)
@@ -13,7 +13,7 @@ help: you could relax the implicit `Sized` bound on `T` if it were used through
   --> $DIR/adt-param-with-implicit-sized-bound.rs:18:10
    |
 LL | struct X<T>(T);
-   |          ^  - ...if indirection was used here: `Box<T>`
+   |          ^  - ...if indirection were used here: `Box<T>`
    |          |
    |          this could be changed to `T: ?Sized`...
 
@@ -68,7 +68,7 @@ help: you could relax the implicit `Sized` bound on `T` if it were used through
 LL | struct Struct3<T>{
    |                ^ this could be changed to `T: ?Sized`...
 LL |     _t: T,
-   |         - ...if indirection was used here: `Box<T>`
+   |         - ...if indirection were used here: `Box<T>`
 help: consider further restricting `Self`
    |
 LL |     fn func3() -> Struct3<Self> where Self: Sized;