Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
const-generics
/
early
/
trivial-const-arg-macro-res-error.rs
blob: f218caac0cf98d7b926c5e599dcddcc2e4ea0ccf [
file
] [
log
] [
blame
]
// 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
}