Skip to content

Conversation

lilyball
Copy link
Contributor

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)
                      ^~~

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)
                        ^~~
bors added a commit that referenced this pull request Sep 17, 2013
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)
                          ^~~
@bors bors closed this Sep 17, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 28, 2022
…iles_on_windows, r=Alexendoo

Enable test multiple_config_files on windows

Verified that it actully works on windows
changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants