about summary refs log tree commit diff
path: root/tests/ui/macros/meta-variable-depth-outside-repeat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/meta-variable-depth-outside-repeat.rs')
-rw-r--r--tests/ui/macros/meta-variable-depth-outside-repeat.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/macros/meta-variable-depth-outside-repeat.rs b/tests/ui/macros/meta-variable-depth-outside-repeat.rs
index b7fb947854f..89b47063606 100644
--- a/tests/ui/macros/meta-variable-depth-outside-repeat.rs
+++ b/tests/ui/macros/meta-variable-depth-outside-repeat.rs
@@ -2,8 +2,8 @@
 
 macro_rules! metavar {
     ( $i:expr ) => {
-        ${length(0)}
-        //~^ ERROR meta-variable expression `length` with depth parameter must be called inside of a macro repetition
+        ${len(0)}
+        //~^ ERROR meta-variable expression `len` with depth parameter must be called inside of a macro repetition
     };
 }