]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/try-block/try-block-in-while.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / try-block / try-block-in-while.stderr
index ac41ddfd8c042c13b3663b22525126839c133b82..bc0f5bb6505b2ad554bf515583b14831af1c8990 100644 (file)
@@ -1,10 +1,10 @@
-error[E0277]: the trait bound `bool: std::ops::Try` is not satisfied
+error[E0277]: the trait bound `bool: Try` is not satisfied
   --> $DIR/try-block-in-while.rs:6:15
    |
 LL |     while try { false } {}
-   |               ^^^^^^^^^ the trait `std::ops::Try` is not implemented for `bool`
+   |               ^^^^^^^^^ the trait `Try` is not implemented for `bool`
    |
-   = note: required by `std::ops::Try::from_ok`
+   = note: required by `from_ok`
 
 error: aborting due to previous error