blob: 4a72f224d9436e1808b8676adfef656580133ecf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
  | 
//@ edition: 2021
//@ check-pass
// Make sure we don't cycle error when normalizing types for tail expr drop order lint.
#![deny(tail_expr_drop_order)]
async fn test() -> Result<(), Box<dyn std::error::Error>> {
    Box::pin(test()).await?;
    Ok(())
}
fn main() {}
 
  |