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
120 B
Rust
Raw Normal View History

fn main() {
let x : (impl Copy,) = (true,);
//~^ `impl Trait` is not allowed in the type of variable bindings
}