]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues-71798.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / issues-71798.rs
index 08b10463d3927699119461181943f93513654960..fecba721ac9fdeb101053fd43ce0b7e2789ee00e 100644 (file)
@@ -1,5 +1,5 @@
 fn test_ref(x: &u32) -> impl std::future::Future<Output = u32> + '_ {
-    *x //~^ ERROR the trait bound `u32: std::future::Future` is not satisfied
+    *x //~^ ERROR `u32` is not a future
 }
 
 fn main() {