rust/tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout

20 lines
377 B
Plaintext

#![feature(prelude_import)]
#[prelude_import]
use std::prelude::rust_2021::*;
#[macro_use]
extern crate std;
//@ edition: 2021
//@ compile-flags: -Zunpretty=expanded
//@ check-pass
// NOTE: This is not considered RTN syntax currently.
// This is simply parenthesized generics.
trait Trait {
async fn method() {}
}
fn foo<T: Trait<method(i32) : Send>>() {}
fn main() {}