mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00

These tests were updated in the previous commit; while they are being cleaned up, move them to a non-issue directory.
13 lines
342 B
Rust
13 lines
342 B
Rust
// Issue: #32950
|
|
// Ensure that using macros rather than a type doesn't break `derive`.
|
|
|
|
#[derive(Debug)]
|
|
struct Nonsense<T> {
|
|
//~^ ERROR type parameter `T` is never used
|
|
should_be_vec_t: vec![T],
|
|
//~^ ERROR `derive` cannot be used on items with type macros
|
|
//~| ERROR expected type, found `expr` metavariable
|
|
}
|
|
|
|
fn main() {}
|