fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
245 B14 linesraw
1// edition: 2021
2// run-rustfix
3
4#![allow(unused)]
5
6// Make sure we don't ICE when suggesting a return type
7// for an async fn that has late-bound vars...
8
9async fn ice(_: &i32) -> bool {
10    true
11    //~^ ERROR mismatched types
12}
13
14fn main() {}