]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-78720.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-78720.stderr
index ee15826d189417733605d84161cccb0924275ad5..3dd1387729833fc6c318f9f104d3135b306ddfa9 100644 (file)
@@ -9,7 +9,7 @@ error[E0412]: cannot find type `F` in this scope
    |
 LL |     _func: F,
    |            ^
-   | 
+   |
   ::: $SRC_DIR/core/src/ops/function.rs:LL:COL
    |
 LL | pub trait Fn<Args>: FnMut<Args> {
@@ -18,11 +18,11 @@ LL | pub trait Fn<Args>: FnMut<Args> {
 help: a trait with a similar name exists
    |
 LL |     _func: Fn,
-   |            ^^
+   |            ~~
 help: you might be missing a type parameter
    |
 LL | struct Map2<Segment2, F> {
-   |                     ^^^
+   |                     +++
 
 error[E0308]: mismatched types
   --> $DIR/issue-78720.rs:7:39
@@ -43,11 +43,11 @@ LL |     fn map2<F>(self, f: F) -> Map2<F> {}
 help: consider further restricting `Self`
    |
 LL |     fn map2<F>(self, f: F) -> Map2<F> where Self: Sized {}
-   |                                       ^^^^^^^^^^^^^^^^^
+   |                                       +++++++++++++++++
 help: function arguments must have a statically known size, borrowed types always have a known size
    |
 LL |     fn map2<F>(&self, f: F) -> Map2<F> {}
-   |                ^
+   |                +
 
 error: aborting due to 4 previous errors