summary refs log tree commit diff
path: root/tests/ui/macros/meta-variable-depth-outside-repeat.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-05-10 12:12:39 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-05-10 12:29:17 -0700
commit6e74155b0bbcf67b8319dd292ac793abcbf16ee7 (patch)
tree38554b8c82c4bb335866eb09c7698410b1549883 /tests/ui/macros/meta-variable-depth-outside-repeat.rs
parentfa5964fa9198e5c23e457821aa88bef34833b571 (diff)
downloadrust-6e74155b0bbcf67b8319dd292ac793abcbf16ee7.tar.gz
rust-6e74155b0bbcf67b8319dd292ac793abcbf16ee7.zip
fix tests after s/${length()}/${len()}/
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
     };
 }