]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5198 : youknowone/rust/repeat-count, r=brson
authorbors <bors@rust-lang.org>
Sat, 2 Mar 2013 23:33:39 +0000 (15:33 -0800)
committerbors <bors@rust-lang.org>
Sat, 2 Mar 2013 23:33:39 +0000 (15:33 -0800)
Before:
````
test.rs:3:21: 3:30 error: expected constant integer for repeat count but found variable
test.rs:3             let a = ~[0, ..n]; //~ ERROR expected constant integer for repeat count but found variable
                              ^~~~~~~~~
````

After:
````
test.rs:3:27: 3:28 error: expected constant integer for repeat count but found variable
test.rs:3             let a = ~[0, ..n]; //~ ERROR expected constant integer for repeat count but found variable
                                     ^
````

1  2 
src/librustc/middle/kind.rs
src/librustc/middle/ty.rs
src/librustc/middle/typeck/check/mod.rs

Simple merge
Simple merge