2024-03-02 16:36:52 -06:00
<svg width= "785px" height= "434px" xmlns= "http://www.w3.org/2000/svg" >
<style >
.fg { fill: #AAAAAA }
.bg { background: #000000 }
.fg-ansi256-009 { fill: #FF5555 }
.fg-ansi256-010 { fill: #55FF55 }
.fg-ansi256-014 { fill: #55FFFF }
.fg-ansi256-015 { fill: #FFFFFF }
.fg-magenta { fill: #AA00AA }
.container {
padding: 0 10px;
line-height: 18px;
}
.bold { font-weight: bold; }
tspan {
font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
white-space: pre;
line-height: 18px;
}
</style>
<rect width= "100%" height= "100%" y= "0" rx= "4.5" class= "bg" />
<text xml:space= "preserve" class= "container fg" >
<tspan x= "10px" y= "28px" > <tspan class= "fg-ansi256-009 bold" > error[E0308]</tspan> <tspan class= "fg-ansi256-015 bold" > : mismatched types</tspan>
</tspan>
2024-04-24 02:42:01 -05:00
<tspan x= "10px" y= "46px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > --> </tspan> <tspan > $DIR/highlighting.rs:22:11</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
<tspan x= "10px" y= "64px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan>
</tspan>
<tspan x= "10px" y= "82px" > <tspan class= "fg-ansi256-014 bold" > LL</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > query(wrapped_fn);</tspan>
</tspan>
2024-04-25 05:17:29 -05:00
<tspan x= "10px" y= "100px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > -----</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-009 bold" > ^^^^^^^^^^</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-009 bold" > one type is more general than the other</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
2024-04-25 05:17:29 -05:00
<tspan x= "10px" y= "118px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
2024-04-25 05:17:29 -05:00
<tspan x= "10px" y= "136px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > arguments to this function are incorrect</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
<tspan x= "10px" y= "154px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan>
</tspan>
<tspan x= "10px" y= "172px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > = </tspan> <tspan class= "fg-ansi256-015 bold" > note</tspan> <tspan > : expected fn pointer `</tspan> <tspan class= "fg-magenta bold" > for< 'a> </tspan> <tspan > fn(Box< </tspan> <tspan class= "fg-magenta bold" > (dyn Any + Send + 'a)</tspan> <tspan > > ) -> Pin< _> `</tspan>
</tspan>
<tspan x= "10px" y= "190px" > <tspan > found fn item `fn(Box< </tspan> <tspan class= "fg-magenta bold" > (dyn Any + Send + 'static)</tspan> <tspan > > ) -> Pin< _> {wrapped_fn}`</tspan>
</tspan>
<tspan x= "10px" y= "208px" > <tspan class= "fg-ansi256-010 bold" > note</tspan> <tspan > : function defined here</tspan>
</tspan>
2024-04-24 02:42:01 -05:00
<tspan x= "10px" y= "226px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > --> </tspan> <tspan > $DIR/highlighting.rs:11:4</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
<tspan x= "10px" y= "244px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan>
</tspan>
<tspan x= "10px" y= "262px" > <tspan class= "fg-ansi256-014 bold" > LL</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > fn query(_: fn(Box< (dyn Any + Send + '_)> ) -> Pin< Box< (</tspan>
</tspan>
2024-04-25 05:17:29 -05:00
<tspan x= "10px" y= "280px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > ____</tspan> <tspan class= "fg-ansi256-010 bold" > ^^^^^</tspan> <tspan class= "fg-ansi256-014 bold" > _-</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
<tspan x= "10px" y= "298px" > <tspan class= "fg-ansi256-014 bold" > LL</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > dyn Future< Output = Result< Box< (dyn Any + 'static)> , String> > + Send + 'static</tspan>
</tspan>
<tspan x= "10px" y= "316px" > <tspan class= "fg-ansi256-014 bold" > LL</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > )> > ) {}</tspan>
</tspan>
2024-04-25 05:17:29 -05:00
<tspan x= "10px" y= "334px" > <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |</tspan> <tspan > </tspan> <tspan class= "fg-ansi256-014 bold" > |___-</tspan>
2024-03-02 16:36:52 -06:00
</tspan>
<tspan x= "10px" y= "352px" >
</tspan>
<tspan x= "10px" y= "370px" > <tspan class= "fg-ansi256-009 bold" > error</tspan> <tspan class= "fg-ansi256-015 bold" > : aborting due to 1 previous error</tspan>
</tspan>
<tspan x= "10px" y= "388px" >
</tspan>
<tspan x= "10px" y= "406px" > <tspan class= "fg-ansi256-015 bold" > For more information about this error, try `rustc --explain E0308`.</tspan>
</tspan>
<tspan x= "10px" y= "424px" >
</tspan>
</text>
</svg>