error: expected item, found keyword `where` --> $DIR/issue-17904-2.rs:1:24 | LL | struct Bar { x: T } where T: Copy | ^^^^^ expected item | = note: for a full list of items that can appear in modules, see error: aborting due to 1 previous error