mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
227 B
Rust
14 lines
227 B
Rust
// This is a regression test for #128016.
|
|
|
|
macro_rules! len {
|
|
() => {
|
|
target
|
|
//~^ ERROR cannot find value `target`
|
|
};
|
|
}
|
|
|
|
fn main() {
|
|
let val: [str; len!()] = [];
|
|
//~^ ERROR the size for values
|
|
}
|