Skip to content

Commit

Permalink
Accommodate the "int literal is too large" error message currently em…
Browse files Browse the repository at this point in the history
…bedded in rustc.
  • Loading branch information
pnkfelix authored and nikomatsakis committed Jan 8, 2015
1 parent dc1ba08 commit 2259fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/compile-fail/int-literal-too-large-span.rs
Expand Up @@ -11,7 +11,7 @@
// issue #17123

fn main() {
100000000000000000000000000000000 //~ ERROR isize literal is too large
100000000000000000000000000000000is //~ ERROR int literal is too large

; // the span shouldn't point to this.
}
4 changes: 2 additions & 2 deletions src/test/compile-fail/issue-5544-b.rs
Expand Up @@ -9,6 +9,6 @@
// except according to those terms.

fn main() {
let _i = 0xff_ffff_ffff_ffff_ffff;
//~^ ERROR isize literal is too large
let _i = 0xff_ffff_ffff_ffff_ffff_is;
//~^ ERROR int literal is too large
}

0 comments on commit 2259fe1

Please sign in to comment.