]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/mismatched_types/closure-arg-type-mismatch.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / mismatched_types / closure-arg-type-mismatch.stderr
index ed5028247124f6e70ae74cbeacf4f71067327800..69a4b458ebf5089a0c3a33e1f6ebe7ccaab2d56a 100644 (file)
@@ -26,7 +26,7 @@ error[E0631]: type mismatch in function arguments
   --> $DIR/closure-arg-type-mismatch.rs:10:9
    |
 LL | fn baz<F: Fn(*mut &u32)>(_: F) {}
-   |    ---    ------------- required by this bound in `baz`
+   |           ------------- required by this bound in `baz`
 LL | fn _test<'a>(f: fn(*mut &'a u32)) {
 LL |     baz(f);
    |         ^
@@ -38,7 +38,7 @@ error[E0271]: type mismatch resolving `for<'r> <fn(*mut &'a u32) as std::ops::Fn
   --> $DIR/closure-arg-type-mismatch.rs:10:5
    |
 LL | fn baz<F: Fn(*mut &u32)>(_: F) {}
-   |    ---    ------------- required by this bound in `baz`
+   |           ------------- required by this bound in `baz`
 LL | fn _test<'a>(f: fn(*mut &'a u32)) {
 LL |     baz(f);
    |     ^^^ expected bound lifetime parameter, found concrete lifetime