Commit Graph

14122 Commits

Author SHA1 Message Date
Patrick Walton
5bf9e6f58b test: Fix float imprecision error on intrinsics-math 2012-12-05 17:54:12 -08:00
Patrick Walton
674b638385 test: Fix alt-implicit-copy-unique. rs=me 2012-12-05 17:38:21 -08:00
Patrick Walton
e1685dd990 test: More bustage fixes. rs=me 2012-12-05 17:36:51 -08:00
Patrick Walton
6084032270 test: More run-pass test fixes 2012-12-05 16:51:32 -08:00
Patrick Walton
7a065f2434 libcore: Fix some more coretest bustage. rs=bustage 2012-12-05 15:30:00 -08:00
Patrick Walton
1282fc8074 librustc: Hook borrow check loan checking up to the moves-based-on-type infrastructure. rs=helps-unbreak-the-build 2012-12-05 15:07:48 -08:00
Brian Anderson
a05ba09d90 Add Michael Arntzenius to AUTHORS.txt 2012-12-05 12:04:50 -08:00
Brian Anderson
0b5877afb8 Merge remote-tracking branch 'rntz/tuple-iterbytes'
Conflicts:
	src/libcore/to_bytes.rs
2012-12-05 11:58:35 -08:00
Patrick Walton
3440482d8d test: Fix a bunch of test cases. rs=burning 2012-12-05 11:40:47 -08:00
Patrick Walton
b8cfd5c414 librustc: Long lines. rs=rustbot 2012-12-04 21:13:02 -08:00
Brian Anderson
01cd53baf0 Merge remote-tracking branch 'luqmana/incoming'
Conflicts:
	src/librustc/middle/typeck/check.rs
2012-12-04 18:49:50 -08:00
Patrick Walton
c0d3b291d5 librustc: Shot in the dark to try to unbreak Windows. rs=me 2012-12-04 16:03:50 -08:00
Patrick Walton
33c1e47c1b librustc: Implement moves based on type. r=nmatsakis 2012-12-04 15:38:04 -08:00
Patrick Walton
f02e9db212 librustc: Remove bogus ValueMode. rs=tree-on-fire 2012-12-04 15:09:40 -08:00
Patrick Walton
d1ebdbeb6c librustc: Implement explicit self for Add and Index; add a hack in the borrow checker to support this. r=nmatsakis 2012-12-04 14:51:31 -08:00
Patrick Walton
56ece46f7d librustc: Remove all legacy pattern bindings from libsyntax and librustc. rs=refactoring 2012-12-04 14:19:19 -08:00
Graydon Hoare
94be145169 core: rename box to managed. Close #4079. 2012-12-03 17:45:19 -08:00
Graydon Hoare
2a5713ed5c core: rename unit to nil. Close #4080. 2012-12-03 17:28:19 -08:00
Graydon Hoare
00c856c0b1 Update license, add license boilerplate to most files. Remainder will follow. 2012-12-03 17:12:14 -08:00
Patrick Walton
7eda4a567d librustdoc: Parenthesize closure calls in tests to attempt to put out burning tinderbox. rs=rustbot 2012-12-03 17:08:52 -08:00
Patrick Walton
b6f1e3084f librustc: Add missing cases in kind and privacy checking to try to put out the burning tinderbox. rs=rustbot 2012-12-03 15:28:51 -08:00
Brian Anderson
05e51e6f7f Call default methods on bound typarams more correctly 2012-12-02 18:29:22 -08:00
Michael Arntzenius
5b6c1a2950 call out to iter_bytes_{2,3} in IterBytes instances for pairs, triples
This means we will exit early if requested based on the return value of the
callback we're given.
2012-12-02 20:01:28 -05:00
Michael Arntzenius
ef2c404e01 libcore/to_bytes.rs: fix IterBytes instances for pairs, triples to not cause ICE when used 2012-12-02 17:48:32 -05:00
Brian Anderson
83a55ea73a Fix some compile-fail tests 2012-12-01 15:59:04 -08:00
Brian Anderson
c19c24d193 Fix tests for field parsing changes 2012-12-01 15:25:17 -08:00
Patrick Walton
1088006ed9 librustc: Implement unit-like struct constants. r=brson 2012-11-30 21:10:54 -08:00
Patrick Walton
8fa306a0ad librustc: Implement tuple struct constants. r=brson 2012-11-30 21:10:17 -08:00
Patrick Walton
5b5a0df7ee librustc: Implement C-like enum constants. r=tjc 2012-11-30 21:09:14 -08:00
Patrick Walton
f34833abfc librustc: Make a.b() always a method call. r=nmatsakis 2012-11-30 20:41:46 -08:00
Jimmy Lu
b17b3d9c12 add option validation to configure, now it will error out on undefined options 2012-11-30 23:20:18 -05:00
Patrick Walton
54ae377ec2 librustc: Implement explicit @self and ~self for objects. r=nmatsakis 2012-11-30 19:39:01 -08:00
Patrick Walton
3afd6c3d79 librustc: Implement simple explicit self for objects. r=nmatsakis 2012-11-30 18:55:12 -08:00
Brian Anderson
e9b39d9cbd Add Bilal Husain to AUTHORS 2012-11-30 18:46:39 -08:00
Brian Anderson
f69cdc3f50 Merge remote-tracking branch 'bilalhusain/patch-1' 2012-11-30 18:45:58 -08:00
Brian Anderson
4d820f0230 Add the check-fast run_pass_stage2 lib to 'make clean'
Should fix the windows bots
2012-11-30 15:02:03 -08:00
Tim Chevalier
16b64e2fa1 Add Andrew Dunham to AUTHORS 2012-11-30 12:52:21 -08:00
Tim Chevalier
bde2dcc8d5 Merge pull request #4085 from andrew-d/andrew-fix-typo
Fix small typo in kinds documentation
2012-11-30 12:48:28 -08:00
Tim Chevalier
daf28a421a Disallow dereferencing enum types when the variant is private
If an enum type's only variant is private, disallow dereferencing
values of its type.

Due to #4082, this only applies to enums that are in the same crate.

r=pcwalton

Closes #818
2012-11-30 12:45:10 -08:00
Andrew Dunham
e19d8f7ae5 Fix small typo in kinds documentation 2012-11-30 15:39:44 -05:00
Graydon Hoare
f89d4ac830 Merge pull request #4081 from graydon/iterbytes-and-workcache
libs: Remove transitionary material on iter_bytes, add workcache to buil...
2012-11-30 12:20:59 -08:00
Brian Anderson
946427b562 manual: Clarify that Drop types cannot be Copy 2012-11-30 11:23:22 -08:00
Graydon Hoare
d783f4d7bb libs: Remove transitionary material on iter_bytes, add workcache to build. 2012-11-30 10:33:16 -08:00
Brian Anderson
38ba2c4941 core: Add docs about kind traits 2012-11-30 01:52:26 -08:00
Brian Anderson
b52a4b412e core: Make core.rc more readable. Cleanup 2012-11-30 01:32:53 -08:00
Brian Anderson
3ed9fbd63c impls of traits cannot define methods on the anonymous trait 2012-11-29 22:07:49 -08:00
Brian Anderson
78ee821154 Implement trait inheritance for bounded type parameters 2012-11-29 18:10:11 -08:00
Brian Anderson
daa89e0861 rustc: Remove existing inheritance code from coherence
Inheritance will be implemented differently, hopefully simpler
2012-11-29 18:10:11 -08:00
Brian Anderson
28ecef7bf5 core: Add impls of Eq and Ord for f32, f64 2012-11-29 18:10:11 -08:00
Brian Anderson
05e7ba8d39 Enable trait-inheritance-simple.rs 2012-11-29 18:10:11 -08:00