about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-01-16Add test for missing default implFlavio Percoco-0/+20
2015-01-16Record negative trait_impls separatedlyFlavio Percoco-2/+64
2015-01-15Test fixes and rebase conflictsAlex Crichton-5/+2
2015-01-15rollup merge of #21206: steveklabnik/expressionsAlex Crichton-0/+18
Suggested here: http://stackoverflow.com/a/27962076/24817
2015-01-15rollup merge of #21199: dotdash/decode_lambaAlex Crichton-4/+3
Currently, we build a closure that does nothing but pass its argument through to another function, this is rather wasteful and creates lots of unnecessary closures.
2015-01-15rollup merge of #21197: michaelwoerister/linestablesonly-forloopAlex Crichton-32/+28
Fixes #21067.
2015-01-15rollup merge of #21191: Zoxc/ltoAlex Crichton-0/+3
Fixes #21184
2015-01-15rollup merge of #21190: FlaPer87/remove_duplicated_funcAlex Crichton-5/+1
small cleanup r? @nikomatsakis
2015-01-15rollup merge of #21172: brson/tupleAlex Crichton-3/+0
This outer attribute doesn't actually apply to anything is seems to be incorrect in what it is saying.
2015-01-15rollup merge of #21170: Diggsey/issue-21058Alex Crichton-5/+44
While it's unstable and will probably be replaced or "reformed" at some point, it's useful in the mean time to be able to introspect the type system when debugging, and not be limited to sized types. Fixes #21058
2015-01-15rollup merge of #21168: aidanhs/aphs-doc-vec-heapAlex Crichton-1/+1
...to make it slightly clearer that there's not much point in boxing a vec. On a different note, I read the contribution guidelines (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#pull-request-procedure) which say I should update the copyright date for this file. But I can see that nobody else has done this so far this year, despite there being a fair number of commits. Does that instruction need removing?
2015-01-15rollup merge of #21167: FlaPer87/coherence-implsAlex Crichton-1/+94
Fixes #21080 r? @nikomatsakis [breaking-change]
2015-01-15rollup merge of #21164: richo/doc/servo-linkAlex Crichton-2/+2
Tiny docfix to make the urls point to the canonical endpoint.
2015-01-15rollup merge of #21161: japaric/ufcs-hashAlex Crichton-2/+39
expansion now uses `::std::hash::Hash::hash(&*__self_0_0, __arg_0)` instead of `(*__self_0_0).hash(__arg_0)` closes #21160 r? @alexcrichton
2015-01-15rollup merge of #21156: nick29581/plugins-fixAlex Crichton-11/+23
Closes #21130 r? @Aatch
2015-01-15rollup merge of #21148: bombless/patch-1Alex Crichton-1/+1
2015-01-15rollup merge of #21144: nagisa/asm-str-fixAlex Crichton-0/+22
Fixes #21045
2015-01-15rollup merge of #21141: tcard/masterAlex Crichton-1/+1
Really small correction. This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information. This makes it fail for the expected reason.
2015-01-15rollup merge of #21133: iKevinY/mobile-rustdocAlex Crichton-1/+3
Just a couple of tweaks to improve the appearance of pages like [The Rust Reference](http://doc.rust-lang.org/reference.html) on mobile to advance the progress of #20850. Changing the viewport wasn't quite good enough to make it mobile-friendly, as large tables forced the page to become wider than the screen width. Using `overflow-x`, tables that are too large become horizontally scrollable instead of forcing the *entire page* to become horizontally scrollable. Also, there was at least one case where an extremely long piece of inline code was wider than the actual width of the screen (`std::ptr::copy_nonoverlapping_memory`), so I changed `word-wrap` to allow inline code to break in the middle of words instead of only text within `pre` tags. This isn't a change included in this PR, but rather something up for discussion. Currently, code blocks that contain long lines simply wrap onto the next line. What if rather than wrapping, they were horizontally scrollable instead? I'm not sure what the general preference is regarding this. r? @steveklabnik
2015-01-15rollup merge of #21127: erickt/opt-stackAlex Crichton-174/+252
libsyntax compiled without optimization uses a lot of stack, which can cause it to run out of stack space. This PR factors out some arm handlers from `print_expr` as well as converts `advance_left` into a loop. This helps to cut down on the stack usage.
2015-01-15rollup merge of #21126: sleepynate/dlist-examplesAlex Crichton-6/+166
Just some documentation test examples for the DList collection.
2015-01-15rollup merge of #21124: steveklabnik/fix_redirectAlex Crichton-1/+1
Why redirect Tutorial -> Guide -> Book when you can just Tutorial -> Book? Suggested here: http://www.reddit.com/r/rust/comments/2schav/is_it_possible_to_automatically_redirect/
2015-01-15rollup merge of #21120: fhahn/issue-model-lexer-questionmarkAlex Crichton-9/+15
This PR updates `grammar/verify.rs` to work with master and handles the question mark of `?Sized` correctly (#15879).
2015-01-15rollup merge of #21115: dotdash/iter_vecAlex Crichton-44/+25
There are two places left where we used to only know the byte size of/offset into an array and had to cast to i8 and back to get the right addresses. But by now, we always know the sizes in terms of the number of elements in the array. In fact we have to add an extra Mul instruction so we can use the weird cast-to-u8 code. So we should really just embrace our new knowledge and use simple GEPs to do the address calculations. Fixes #3729
2015-01-15rollup merge of #21109: steveklabnik/gh17224Alex Crichton-3/+76
Fixes #17224
2015-01-15rollup merge of #21107: nikomatsakis/assoc-type-ice-hunt-take-1Alex Crichton-108/+226
Fixes for #20831 and #21010 r? @nick29581
2015-01-15rollup merge of #21105: csouth3/kill-box-importAlex Crichton-21/+0
Closes #21093. r? @steveklabnik cc @alexcrichton I tested with `make check-docs` and this passes that. Hope that was enough.
2015-01-15rollup merge of #21103: nagisa/result-typoAlex Crichton-7/+5
r? @steveklabnik, I think?
2015-01-15rollup merge of #21089: nikomatsakis/issue-20676-invalid-vtable-for-objectAlex Crichton-3/+59
Support UFCS style calls to a method defined in `Trait` where `Self` is bound to a trait object. Fixes #20676. r? @alexcrichton
2015-01-15rollup merge of #21088: aochagavia/obsoleteAlex Crichton-226/+4
Only the most recent changes (since November 2014) get a special error. Fixes #20599
2015-01-15rollup merge of #21085: pnkfelix/pp-flowgraph-kill-labelsAlex Crichton-36/+50
Add `--xpretty flowgraph,unlabelled` variant to the (unstable) flowgraph printing `rustc` option. This makes the tests much easier to maintain; the particular details of the labels attached to exiting scopes is not worth the effort required to keep it up to date as things change in the compiler internals.
2015-01-15rollup merge of #21075: iKevinY/intro-changesAlex Crichton-21/+21
- Make punctuation/formatting consistent with the changes made to *The Rust Programming Language* in #20782. - Use title casing for "Safety and Speed" section. - Reword some phrases to improve clarity.
2015-01-15rollup merge of #21071: sfaxon/mobile-friendly-bookAlex Crichton-2/+111
Helps with mobile friendliness of The Rust Book #20850
2015-01-15rollup merge of #21066: japaric/issue-20575Alex Crichton-0/+19
closes #20575
2015-01-15rollup merge of #21059: steveklabnik/gh16072Alex Crichton-1/+26
Fixes #16072 r? @huonw
2015-01-15rollup merge of #21052: nick29581/methods-extAlex Crichton-121/+419
Allows modifiers to be used on methods, associated types, etc. r? @sfackler
2015-01-15rollup merge of #21041: steveklabnik/gh17554Alex Crichton-0/+29
Fixes #17554
2015-01-15rollup merge of #21040: steveklabnik/gh20037Alex Crichton-1/+1
Fixes #20037.
2015-01-15rollup merge of #21038: steveklabnik/gh20471Alex Crichton-1/+2
Fixes #20471.
2015-01-15rollup merge of #21036: renato-zannon/into-iter-implsAlex Crichton-0/+3
fixes #21027
2015-01-15rollup merge of #21031: steveklabnik/gh19067Alex Crichton-5/+4
Fixes #19067
2015-01-15rollup merge of #21029: steveklabnik/gh19924Alex Crichton-4/+20
Fixes #19924
2015-01-15rollup merge of #21028: steveklabnik/gh17368Alex Crichton-1/+4
Fixes #17368
2015-01-15rollup merge of #21023: steveklabnik/gh20840Alex Crichton-19/+1
Fixes #20840
2015-01-15rollup merge of #21020: steveklabnik/gh20844Alex Crichton-10/+11
Thank you @bluss for the suggested implementation. Fixes #20844
2015-01-15rollup merge of #21015: steveklabnik/gh20852Alex Crichton-3/+3
Fixes #20852
2015-01-15rollup merge of #21014: steveklabnik/gh20876Alex Crichton-9/+2
Fixes #20876
2015-01-15rollup merge of #21013: steveklabnik/gh20914Alex Crichton-1/+1
Fixes #20914
2015-01-15rollup merge of #21011: steveklabnik/gh20993Alex Crichton-2/+2
Fixes #20993
2015-01-15rollup merge of #21005: huonw/deriving-docsAlex Crichton-25/+28
Syntax and a few fixed bugs etc.