| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-27 | librustc: Ensure that type parameters are in the right positions in paths. | Patrick Walton | -47/+79 | |
| This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax. | ||||
| 2013-08-27 | librustc: Add support for type parameters in the middle of paths. | Patrick Walton | -0/+16 | |
| For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however. | ||||
| 2013-08-27 | librustc: Remove `&const` and `*const` from the language. | Patrick Walton | -225/+13 | |
| They are still present as part of the borrow check. | ||||
| 2013-08-27 | Replace HashUtil w/ default method on Hash | Jason Fager | -4/+0 | |
| 2013-08-27 | auto merge of #8799 : fhahn/rust/ticket_5783, r=catamorphism | bors | -0/+19 | |
| I've added a testcase, as mentioned in #5783 | ||||
| 2013-08-27 | auto merge of #8797 : ↵ | bors | -0/+61 | |
| nikomatsakis/rust/issue-8625-assign-to-andmut-in-borrowed-loc-2, r=pcwalton Fixes for #8625 to prevent assigning to `&mut` in borrowed or aliasable locations. The old code was insufficient in that it failed to catch bizarre cases like `& &mut &mut`. r? @pnkfelix | ||||
| 2013-08-27 | auto merge of #8771 : thestinger/rust/repr, r=catamorphism | bors | -27/+6 | |
| 2013-08-27 | Add test for #5783 | Florian Hahn | -0/+19 | |
| 2013-08-27 | reflect: rm unused visit_{var,var_integral,constr} | Daniel Micay | -21/+0 | |
| 2013-08-27 | repr: print integer/float suffixes | Daniel Micay | -6/+6 | |
| 2013-08-27 | Extend aliasability check to uncover `& &mut &mut` and the like | Niko Matsakis | -0/+30 | |
| 2013-08-27 | auto merge of #8772 : thestinger/rust/option, r=anasazi | bors | -25/+0 | |
| Closes #6002 There is consensus that the current implementation should be changed or removed, so removing it seems like the right decision for now. | ||||
| 2013-08-27 | option: rm implementation of Add | Daniel Micay | -25/+0 | |
| Closes #6002 There is consensus that the current implementation should be changed or removed, so removing it seems like the right decision for now. | ||||
| 2013-08-26 | auto merge of #8757 : vadimcn/rust/debug-info-tests, r=brson | bors | -140/+4 | |
| Now that new LLVM has landed, the debug info works on Windows as well. Most existing tests pass, except for the following four, which I left disabled for now: lexical-scope-in-for-loop lexical-scope-in-if lexical-scope-in-match lexical-scopes-in-block-expression Also, fixed a small problem with the debug info test runner. | ||||
| 2013-08-26 | auto merge of #8739 : fhahn/rust/ticket_2275, r=brson | bors | -0/+450 | |
| This is a pull request for #2275 I've created a small python script to generate test files for a list of keywords (as break do else enum extern false fn for if impl let loop match mod mut priv pub ref return self static struct super true trait type unsafe use while), but I'm not really sure where to put it. I've added the created files as well. I did not use fn main() { let $KW = "foo"; //~ error println($KW); //~ error } as template, because for return, self, ref, loop, mut and break this does not raise an error in the ```println``` line, only in the ```let``` line. | ||||
| 2013-08-26 | Fix deriving-zero test | Corey Richardson | -2/+0 | |
| 2013-08-26 | Add script and tests for using keywords as identifiers | Florian Hahn | -0/+450 | |
| 2013-08-26 | auto merge of #8744 : jld/rust/discr64, r=nikomatsakis | bors | -0/+25 | |
| This is in preparation for making discriminants not always be int (#1647), but it also makes compiles for a 64-bit target not behave differently — with respect to how many bits of discriminants are preserved — depending on the build host's word size, which is a nice property to have. We may want to standardize how to abbreviate "discriminant" in a followup change. | ||||
| 2013-08-26 | Un-disabled debug info tests on Windows. | Vadim Chugunov | -140/+4 | |
| 2013-08-24 | Add a test case for the preceding changes. | Jed Davis | -0/+25 | |
| This would have failed on 32-to-64-bit cross-compiles. | ||||
| 2013-08-24 | Introduce alternate forms of logging | Alex Crichton | -1/+1 | |
| These new macros are all based on format! instead of fmt! and purely exist for bootstrapping purposes. After the next snapshot, all uses of logging will be migrated to these macros, and then after the next snapshot after that we can drop the `2` suffix on everything | ||||
| 2013-08-24 | Settle on the format/write/print family of names | Alex Crichton | -218/+233 | |
| 2013-08-24 | Implement a wrapper macro around fprintf -- ifmtf | Alex Crichton | -1/+21 | |
| 2013-08-23 | rt: Move some test functions to rust_test_helpers | Brian Anderson | -20/+20 | |
| 2013-08-23 | Emit a better error for attempted unsafe-pointer-self. Close #8306. | Ben Blum | -0/+22 | |
| 2013-08-23 | Parse and reserve typeof keyword. #3228 | Ben Blum | -0/+13 | |
| 2013-08-23 | auto merge of #8677 : bblum/rust/scratch, r=alexcrichton | bors | -0/+21 | |
| r anybody; there isn't anything complicated here | ||||
| 2013-08-22 | auto merge of #8596 : vadimcn/rust/master, r=alexcrichton | bors | -16/+0 | |
| This resolves issue #908. Notable changes: - On Windows, LLVM integrated assembler emits bad stack unwind tables when segmented stacks are enabled. However, unwind info directives in the assembly output are correct, so we generate assembly first and then run it through an external assembler, just like it is already done for Android builds. - Linker is invoked via "g++" command instead of "gcc": g++ passes the appropriate magic parameters to the linker, which ensure correct registration of stack unwind tables in dynamic libraries. | ||||
| 2013-08-22 | Don't do a bogus substitution on the transformed self ty for objects. Closes ↵ | Michael Sullivan | -0/+20 | |
| #8664. | ||||
| 2013-08-22 | Substitute into the impl method rather than the trait method when emitting ↵ | Michael Sullivan | -0/+26 | |
| vtables. Closes #8601. | ||||
| 2013-08-22 | auto merge of #8666 : nikomatsakis/rust/issue-3678-extern-fn-types, r=pcwalton | bors | -26/+101 | |
| Change the type of crust fns like this one: extern fn foo() { ... } from `*u8` to `extern "C" fn()`. r? @pcwalton (or whomever) | ||||
| 2013-08-22 | auto merge of #8626 : kballard/rust/issue-8615, r=catamorphism | bors | -0/+14 | |
| Fixes #8615. | ||||
| 2013-08-22 | auto merge of #8620 : brson/rust/issue-7563, r=alexcrichton | bors | -0/+25 | |
| 2013-08-22 | Enabled tests. | Vadim Chugunov | -16/+0 | |
| 2013-08-21 | auto merge of #8570 : catamorphism/rust/2013-08-16-rollup, r=catamorphism | bors | -3/+180 | |
| Nothing arguable here, as far as I can tell. | ||||
| 2013-08-21 | auto merge of #8562 : bblum/rust/superkinds, r=nikomatsakis | bors | -0/+360 | |
| For #7083. The metadata issue with the old version is now fixed. Ready for review. This is also not the full solution to #7083, because this is not supported yet: ``` trait Foo : Send { } impl <T: Send> Foo for T { } fn foo<T: Foo>(val: T, chan: std::comm::Chan<T>) { chan.send(val); } ``` cc @nikomatsakis | ||||
| 2013-08-21 | test: Add test for #7563. Closes #7563 | Brian Anderson | -0/+25 | |
| 2013-08-21 | oops v2, apparently writing std::comm::stream() doesn't work on check-fast; ↵ | Ben Blum | -10/+19 | |
| fix this | ||||
| 2013-08-21 | auto merge of #8595 : vadimcn/rust/print_link_args, r=alexcrichton | bors | -0/+0 | |
| This resolves issue #8569 | ||||
| 2013-08-21 | testsuite: Un-xfail test for #5917 | Tim Chevalier | -3/+1 | |
| 2013-08-21 | testsuite: Test for #4447 | Tim Chevalier | -0/+15 | |
| Closes #4447 | ||||
| 2013-08-21 | testsuite: Test for #6132 | Tim Chevalier | -0/+24 | |
| Closes #6132 | ||||
| 2013-08-21 | rustc: More helpful error message when using a struct type like a function | Tim Chevalier | -0/+19 | |
| Closes #6702 | ||||
| 2013-08-21 | Testsuite: Test for #7013. Closes #7013 | Tim Chevalier | -0/+43 | |
| 2013-08-21 | testsuite: Tests for #6458. Closes #6458 | Tim Chevalier | -0/+78 | |
| 2013-08-21 | Only bug on self-not-mapped-to-def if no previous errors were present. Close ↵ | Ben Blum | -0/+21 | |
| #6642. | ||||
| 2013-08-21 | auto merge of #8594 : bytewiseand/rust/static-fn-ptr, r=pcwalton | bors | -0/+64 | |
| Fixes #8588 | ||||
| 2013-08-21 | oops, xfail-fast the cross-crate superkind tests | Ben Blum | -0/+6 | |
| 2013-08-21 | Changed `fn main` to `pub fn main` | Andreas Martens | -1/+1 | |
| 2013-08-21 | Prohibit assignment to `&mut` pointers that are found in frozen or borrowed ↵ | Niko Matsakis | -0/+31 | |
| locations. Fixes #8625. | ||||
