Brian Anderson
1970c9c4d2
mk: Don't check core/std/rustc as part of check-fast
...
When debugging check-fast it's annoying to wait through core/std
2013-02-05 20:02:48 -08:00
Brian Anderson
0e913a4c90
mk: Parameterize tests.mk to the max
2013-02-05 20:02:46 -08:00
Patrick Walton
801f3225b2
oldmap: use &K instead of K in find and get
...
This reverts commit a4250a96fd
.
This is not the cause of the nonexhaustive-match failure.
2013-02-05 19:41:45 -08:00
Tim Chevalier
fd7b732e58
testsuite: Add test for #4523
2013-02-05 17:30:35 -08:00
Graydon Hoare
a4250a96fd
Revert "oldmap: use &K instead of K in find and get"
...
This reverts commit 8e643525d4
.
2013-02-05 14:30:53 -08:00
Tim Chevalier
0110dfb27c
Merge branch 'incoming' into removing
2013-02-05 10:50:45 -08:00
Tim Chevalier
efd66b0339
Merge branch 'incoming' into made-snap
2013-02-05 10:49:43 -08:00
Tim Chevalier
b9a7d77529
Register snapshots
2013-02-05 10:34:17 -08:00
Tim Chevalier
33e2c979ce
Merge branch 'incoming' into removing
2013-02-05 10:33:35 -08:00
Tim Chevalier
2dcb3ed745
Merge
2013-02-05 10:33:28 -08:00
Alex Crichton
b368cb2341
Don't warn when imported traits are indeed used
2013-02-05 12:41:19 -05:00
Alex Crichton
6a4483ec7a
Fix some bugs with -W unused-imports
...
1. Don't warn about anything not used in the prelude which is autmoatically
injected, accomplished with a test that the span is equal to a dummy span.
2. Don't warn about unused imports from the injected intrinsic module,
accomplished by testing against the name of the imported module
3. If anything is used from a glob import, don't warn about the glob import.
4. If an import imports more than one thing, and none of them are used, only
issue a warning once
Also updated the unused-imports-warn test to have stricter requirements on
error messages.
2013-02-05 12:40:59 -05:00
bors
f1b05ece93
auto merge of #4796 : catamorphism/rust/derecord_std, r=catamorphism
...
See #4665
2013-02-05 07:04:15 -08:00
bors
e72c917f71
auto merge of #4793 : brson/rust/ignore_exclusive_unwrap_conflict, r=brson
2013-02-05 05:21:28 -08:00
Zack Corr
abd29e5ead
core: Add a rand::Rand trait that is implemented by types that can be
...
randomly generated
Also adds Rng::gen() for generating any type that implements the Rand
trait
2013-02-05 22:56:40 +10:00
bors
6e0f05b059
auto merge of #4790 : pcwalton/rust/at-readers, r=pcwalton
2013-02-05 02:09:29 -08:00
bors
2e77526b94
auto merge of #4787 : graydon/rust/clang42, r=graydon
...
This is just a retargeting of https://github.com/mozilla/rust/pull/4753 against incoming
2013-02-05 00:23:24 -08:00
bors
80cd485b49
auto merge of #4784 : alexcrichton/rust/bitv-clear-fix, r=graydon
...
I think that the inversion of `op(&mut w)` may have just been a mistake?
2013-02-04 22:39:53 -08:00
John Clements
61827a7020
lines too long
2013-02-04 21:00:17 -08:00
John Clements
b4138c1151
demodeing, un-gc-ing
...
It looks to me like the string_reader and tt_reader structs are
GC pointers only because they predate the modern borrow system.
This commit leaves the type names string_reader and tt_reader alone
(they still refer to GC-ed pointers), but internally the functions
now use borrowed pointers to refer to these structures. My guess
would be that it's possible to move this change outward and not
use the GCed pointers at all, but that change looks like it could be
a larger one. Actually, I'm delighted at how quick this change was.
2013-02-04 21:00:17 -08:00
Alex Crichton
406a73fde2
Fix the each_storage() iterator on big bit vectors
2013-02-04 22:59:33 -05:00
bors
52817092a9
auto merge of #4747 : sanxiyn/rust/integral-type, r=graydon
...
`ty::type_is_integral` returns `true` for `ty_bool`. This causes `-true` to compile, instead of resulting in a type error.
2013-02-04 19:59:06 -08:00
Tim Chevalier
2f46b763da
core/syntax: Staging fixes
2013-02-04 17:42:19 -08:00
bors
bffe3088c7
auto merge of pull req #4777 from thestinger/rust, r=graydon
2013-02-04 17:24:40 -08:00
Tim Chevalier
73a7672b8d
std: Stamp out structural records
...
See #4665
2013-02-04 16:48:52 -08:00
bors
3c6b9c2363
automated merge
2013-02-04 15:39:10 -08:00
Tim Chevalier
4e45d7111c
syntax: Make the pipe compiler stop generating set_buffer_ calls
2013-02-04 15:18:53 -08:00
Tim Chevalier
e22aa029fb
core/syntax: Add transitional code for pipes
2013-02-04 15:18:53 -08:00
Brian Anderson
8dfab498ef
Ignore test exclusive_unwrap_conflict. #4689
2013-02-04 14:19:19 -08:00
bors
eb28ce01ed
automated merge
2013-02-04 13:35:37 -08:00
Patrick Walton
7d5322cf09
libcore: Add @ to Readers
2013-02-04 13:33:17 -08:00
Brian Anderson
e08a805b30
Merge remote-tracking branch 'bstrie/rimov' into incoming
...
Conflicts:
src/libsyntax/parse/parser.rs
src/test/bench/graph500-bfs.rs
src/test/bench/sudoku.rs
src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs
src/test/run-pass/empty-mutable-vec.rs
src/test/run-pass/foreach-nested.rs
src/test/run-pass/swap-2.rs
2013-02-04 11:58:30 -08:00
Dimitri Krassovski
2c46bf7e31
Add support for clang 4.2 (as reported by apple clang) r=graydon
2013-02-04 11:28:51 -08:00
Brian Anderson
27e1ac5bb9
Merge pull request #4684 from erickt/incoming
...
core: convert ToStr::to_str to take explicit &self
2013-02-04 10:15:02 -08:00
Brian Anderson
750f246ad5
xfail-faist impl_privace_xc_2.rs
2013-02-04 09:56:50 -08:00
Patrick Walton
31f6534952
libsyntax: Add explicit self to ast_util. rs=explicit-selfing
2013-02-04 09:07:00 -08:00
Seo Sanghyeon
6d5428cb4e
Let type_is_integral return false for bool type
2013-02-04 23:01:47 +09:00
ILyoan
6105f09cc1
Use x86-64 CABI for foreign function on arm target
2013-02-04 19:30:17 +09:00
Erick Tryzelaar
159568eab5
core: Flesh out the either traits
2013-02-03 21:55:51 -08:00
Erick Tryzelaar
f4ed7d9b6e
core: export either::{Either,Left,Right} from the prelude
2013-02-03 21:55:51 -08:00
Erick Tryzelaar
31404364e1
core: sort each prelude.rs section
2013-02-03 21:55:51 -08:00
Erick Tryzelaar
9adfa59d8e
core: convert ToStr::to_str to take explicit &self
2013-02-03 20:47:26 -08:00
Daniel Micay
8e643525d4
oldmap: use &K instead of K in find and get
2013-02-03 23:30:56 -05:00
Brian Anderson
9556629da2
xfail-fast run-pass/impl-privacy-xc-1.rs
2013-02-03 19:09:52 -08:00
Brian Anderson
3b396d17d6
Merge remote-tracking branch 'thestinger/old_map' into incoming
...
Conflicts:
src/test/bench/core-map.rs
2013-02-03 17:56:49 -08:00
Patrick Walton
04eb9b4eb0
librustc: Fix bugs regarding to impl privacy. rs=bugfix
2013-02-03 17:50:27 -08:00
Brian Anderson
5d03612f9d
Add Marvin Löbel to AUTHORS
2013-02-03 16:46:10 -08:00
Marvin Löbel
eeb89c5012
Solved float, f32 and f64 to_str_radix()
special value ambiguity.
...
Calling it on a special value now causes a failure, however `to_str_radix_special()` is provided which can be
used if those values are expected, and which returns a tupel to allow differentating them.
2013-02-03 15:37:25 -08:00
Marvin Löbel
974d5ac1e0
Fixed errors resulting from rebase.
2013-02-03 15:37:25 -08:00
Marvin Löbel
af4972f3ce
Fixed fmt!
, tests, doc-tests.
2013-02-03 15:37:25 -08:00