about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorJulien Cretin <cretin@google.com>2019-05-29 20:29:51 +0200
committerJulien Cretin <cretin@google.com>2019-07-19 19:59:11 +0200
commit82abc0db816e7441a0d89a3eaa51f439a03f4506 (patch)
tree9674a3548e72a1b15ef4a05022ebd2dd6cfa36ad /src/test/ui/thinlto
parent527dce7137f7a3c7bf47d9a503abf25f88ea22de (diff)
downloadrust-82abc0db816e7441a0d89a3eaa51f439a03f4506.tar.gz
rust-82abc0db816e7441a0d89a3eaa51f439a03f4506.zip
Remember the span of the Kleene operator in macros
This is needed for having complete error messages where reporting macro variable
errors. Here is what they would look like:

error: meta-variable repeats with different kleene operator
  --> $DIR/issue-61053-different-kleene.rs:3:57
   |
LL |     ( $( $i:ident = $($j:ident),+ );* ) => { $( $( $i = $j; )* )* };
   |                                 - expected repetition   ^^   - conflicting repetition
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions