mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
209 B
Rust
11 lines
209 B
Rust
// Check that defaults for generic parameters in `for<...>` binders are
|
|
// syntactically valid. See also PR #119042.
|
|
|
|
//@ check-pass
|
|
|
|
macro_rules! a { ($ty:ty) => {} }
|
|
|
|
a! { for<T = &i32> fn() }
|
|
|
|
fn main() {}
|