blob: d8dbb4238d20665656bcb67f83b995fb39a6390a [file] [log] [blame]
// Regression test for issues #100790 and #106439.
//@ run-rustfix
#![allow(dead_code)]
pub struct Example
where
(): Sized,
(usize);
//~^^^ ERROR where clauses are not allowed before tuple struct bodies
struct _Demo
where
(): Sized,
String: Clone,
(pub usize, usize);
//~^^^^ ERROR where clauses are not allowed before tuple struct bodies
fn main() {}