041e54bd92
Fix #80476.
5 lines
143 B
Rust
5 lines
143 B
Rust
fn main() {
|
|
let x : (impl Copy,) = (true,);
|
|
//~^ `impl Trait` only allowed in function and inherent method argument and return types
|
|
}
|