rust/tests/ui/issues/issue-29710.rs

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

12 lines
150 B
Rust
Raw Normal View History

//@ check-pass
#![deny(unused_results)]
#![allow(dead_code)]
#[derive(Debug)]
struct A(usize);
#[derive(Debug)]
struct B { a: usize }
fn main() {}