diff options
Diffstat (limited to 'tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout')
-rw-r--r-- | tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout b/tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout new file mode 100644 index 000000000..b3dea8f6e --- /dev/null +++ b/tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.stdout @@ -0,0 +1,15 @@ +#![feature(prelude_import)] +#[prelude_import] +use std::prelude::rust_2021::*; +#[macro_use] +extern crate std; +// edition: 2021 +// compile-flags: -Zunpretty=expanded + +trait Trait { + async fn method() {} +} + +fn foo<T: Trait<method(i32) : Send>>() {} + +fn main() {} |