rust/tests/ui/impl-trait/issues/issue-70971.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
143 B
Rust
Raw Normal View History

fn main() {
let x : (impl Copy,) = (true,);
2023-10-04 19:51:43 +00:00
//~^ `impl Trait` only allowed in function and inherent method argument and return types
}