about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-17 08:45:44 -0700
committerbors <bors@rust-lang.org>2013-09-17 08:45:44 -0700
commit72e7c62ec4ecddadeccb928ac488a8715d80aef7 (patch)
treecffb38564b51057038da02fb36aac593de4ea8b5 /src/libsyntax/parse
parent29cdf58861b1054c899c911343ccd8b1af28151a (diff)
parentb0647feab05057e8c8f232cdeb6fdceb9a62ad6c (diff)
downloadrust-72e7c62ec4ecddadeccb928ac488a8715d80aef7.tar.gz
rust-72e7c62ec4ecddadeccb928ac488a8715d80aef7.zip
auto merge of #9245 : kballard/rust/bytes-span, r=catamorphism
This constrains the span to the appropriate argument, so you know which
one caused the problem. Instead of

    foo.rs:2:4: 2:21 error: Too large integer literal in bytes!
    foo.rs:2    bytes!(1, 256, 2)
                ^~~~~~~~~~~~~~~~~

it will say

    foo.rs:2:14 2:17 error: Too large integer literal in bytes!
    foo.rs:2    bytes!(1, 256, 2)
                          ^~~
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions