New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 20 pull requests #22439
Rollup of 20 pull requests #22439
Commits on Feb 6, 2015
-
Note that types do not have to be declared in closures
Without such a clarification, people who know and love closures (for instance programmers with a Haskell background) might fear that types would have to be declared in closures and that therefore using closures would be much more unwieldy.
Configuration menu - View commit details
-
Copy full SHA for 994ccd3 - Browse repository at this point
Copy the full SHA 994ccd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526e748 - Browse repository at this point
Copy the full SHA 526e748View commit details
Commits on Feb 12, 2015
-
std: Add missing stability for core::fmt
The `Arguments::new_v1_formatted` function was accidentally left out when this module was stabilized.
Configuration menu - View commit details
-
Copy full SHA for 3429486 - Browse repository at this point
Copy the full SHA 3429486View commit details
Commits on Feb 13, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 17f9d36 - Browse repository at this point
Copy the full SHA 17f9d36View commit details -
Rename
fmt::Writer
tofmt::Write
This brings it in line with its namesake in `std::io`. [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for bc9084b - Browse repository at this point
Copy the full SHA bc9084bView commit details
Commits on Feb 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 1ac10dd - Browse repository at this point
Copy the full SHA 1ac10ddView commit details
Commits on Feb 15, 2015
-
Include "flatmap" in docs of Option::and_then
Some newcomers might look for a "flatMap" method on Option. Include the reference so that searching the page would find "and_then".
Configuration menu - View commit details
-
Copy full SHA for dab626b - Browse repository at this point
Copy the full SHA dab626bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d8222 - Browse repository at this point
Copy the full SHA 20d8222View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52bdda7 - Browse repository at this point
Copy the full SHA 52bdda7View commit details -
Fix misoptimizations when matching against strings/slices
When matching against strings/slices, we call the comparison function for strings, which takes two string slices by value. The slices are passed in memory, and currently we just pass in a pointer to the original slice. That can cause misoptimizations because we emit a call to llvm.lifetime.end for all by-value arguments at the end of a function, which in this case marks the original slice as dead. So we need to properly create copies of the slices to pass them to the comparison function. Fixes rust-lang#22008
Configuration menu - View commit details
-
Copy full SHA for 4808561 - Browse repository at this point
Copy the full SHA 4808561View commit details
Commits on Feb 16, 2015
-
Address the other cases of rust-lang#22234; fix rust-lang#22234.
The other cases: `concat_idents!`, `log_syntax!`, and `trace_macros!`, (these macros, with `asm!`, are handled (eagerly) in feature_gate.rs).
Configuration menu - View commit details
-
Copy full SHA for dc0797c - Browse repository at this point
Copy the full SHA dc0797cView commit details -
std: Add Vec::from_iter comment
Requested by Niko in rust-lang#22200 (and is good to have anyway)
Configuration menu - View commit details
-
Copy full SHA for 42053b9 - Browse repository at this point
Copy the full SHA 42053b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 531a06e - Browse repository at this point
Copy the full SHA 531a06eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38542cc - Browse repository at this point
Copy the full SHA 38542ccView commit details -
Clean up visit_attribute in feature_gate.rs
- We shouldn't be using `check_name` here at all - `contains_name(ref_slice(foo), bar)` is redundant, `contains_name` just iterates over its first arg and calls `check_name` - match would be better than a bunch of ifs
Configuration menu - View commit details
-
Copy full SHA for 99e39f4 - Browse repository at this point
Copy the full SHA 99e39f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 237ae45 - Browse repository at this point
Copy the full SHA 237ae45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0001817 - Browse repository at this point
Copy the full SHA 0001817View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5c3194 - Browse repository at this point
Copy the full SHA d5c3194View commit details -
This redux of CONTRIBUTING.md adds in more information, including subsuming both compliment-bugreport.md and Note-development-policy in the wiki. I only glanced at the broad TOC of Note-development-policy, and did not use the text as the basis for the re-write. This will then address the last outstanding part of rust-lang#5831.
Configuration menu - View commit details
-
Copy full SHA for f645cad - Browse repository at this point
Copy the full SHA f645cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 817f3a4 - Browse repository at this point
Copy the full SHA 817f3a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 839311c - Browse repository at this point
Copy the full SHA 839311cView commit details -
change the signal used to test signal_reported_right
The test "signal_reported_right" send a signal `1` to `/bin/sh`, and check the status code to check if the signal is reported right. Under OpenBSD, the signal `1` (`SIGHUP`) is catched by `/bin/sh`, resulting the test failed. Use the uncatchable signal `9` (`SIGKILL`) for test.
Configuration menu - View commit details
-
Copy full SHA for 5a6ea7a - Browse repository at this point
Copy the full SHA 5a6ea7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79318b7 - Browse repository at this point
Copy the full SHA 79318b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a97588c - Browse repository at this point
Copy the full SHA a97588cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 480ea5a - Browse repository at this point
Copy the full SHA 480ea5aView commit details -
Replace some uses of deprecated os functions
This commit mostly replaces some of the uses of os::args with env::args.
Configuration menu - View commit details
-
Copy full SHA for 7d941fa - Browse repository at this point
Copy the full SHA 7d941faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a133f3 - Browse repository at this point
Copy the full SHA 1a133f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for eeee0e8 - Browse repository at this point
Copy the full SHA eeee0e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad827af - Browse repository at this point
Copy the full SHA ad827afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ffb7db - Browse repository at this point
Copy the full SHA 5ffb7dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0112f3b - Browse repository at this point
Copy the full SHA 0112f3bView commit details -
This is a more introductory document, suitable for Part II. The arcane details move to an "Advanced macros" chapter in Part III.
Configuration menu - View commit details
-
Copy full SHA for 6cef0e5 - Browse repository at this point
Copy the full SHA 6cef0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fffdaf - Browse repository at this point
Copy the full SHA 1fffdafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0129002 - Browse repository at this point
Copy the full SHA 0129002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bbf718 - Browse repository at this point
Copy the full SHA 1bbf718View commit details -
Configuration menu - View commit details
-
Copy full SHA for f64d71b - Browse repository at this point
Copy the full SHA f64d71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 918d097 - Browse repository at this point
Copy the full SHA 918d097View commit details
Commits on Feb 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for a1b7558 - Browse repository at this point
Copy the full SHA a1b7558View commit details -
Rollup merge of rust-lang#21990 - steveklabnik:doc_core_cmp, r=huonw
Fix up, add examples, make them all the same.
Configuration menu - View commit details
-
Copy full SHA for 522091e - Browse repository at this point
Copy the full SHA 522091eView commit details -
Rollup merge of rust-lang#22027 - iblech:patch-1, r=steveklabnik
The first commit adds a short note which I believe will reduce worries in people who work with closures very often and read the Rust book for their first time. The second commit consists solely of tiny typo fixes. In some cases, I changed "logical" quotations like She said, "I like programming". to She said, "I like programming." because the latter seems to be the prevalent style in the book.
Configuration menu - View commit details
-
Copy full SHA for 2d94c44 - Browse repository at this point
Copy the full SHA 2d94c44View commit details -
Rollup merge of rust-lang#22111 - robinst:option-docs-flatmap, r=stev…
…eklabnik Some newcomers might look for a "flatMap" method on Option. Include the reference so that searching the page would find "and_then".
Configuration menu - View commit details
-
Copy full SHA for e4e4afa - Browse repository at this point
Copy the full SHA e4e4afaView commit details -
Rollup merge of rust-lang#22232 - alexcrichton:missing-fmt-stability,…
… r=aturon The `Arguments::new_v1_formatted` function was accidentally left out when this module was stabilized.
Configuration menu - View commit details
-
Copy full SHA for ab51363 - Browse repository at this point
Copy the full SHA ab51363View commit details -
Rollup merge of rust-lang#22282 - steveklabnik:gh5831, r=brson
This redux of CONTRIBUTING.md adds in more information, including subsuming both compliment-bugreport.md and Note-development-policy in the wiki. I only glanced at the broad TOC of Note-development-policy, and did not use the text as the basis for the re-write. This will then address the last outstanding part of rust-lang#5831.
Configuration menu - View commit details
-
Copy full SHA for edac2a0 - Browse repository at this point
Copy the full SHA edac2a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa3182 - Browse repository at this point
Copy the full SHA 2aa3182View commit details -
Rollup merge of rust-lang#22333 - caipre:patch-1, r=steveklabnik
The `Circle::grow` method multiplies the radius by a factor of 10, not 2.
Configuration menu - View commit details
-
Copy full SHA for 4a7eed1 - Browse repository at this point
Copy the full SHA 4a7eed1View commit details -
Rollup merge of rust-lang#22385 - dotdash:slice_by_val_copy, r=nikoma…
…tsakis When matching against strings/slices, we call the comparison function for strings, which takes two string slices by value. The slices are passed in memory, and currently we just pass in a pointer to the original slice. That can cause misoptimizations because we emit a call to llvm.lifetime.end for all by-value arguments at the end of a function, which in this case marks the original slice as dead. So we need to properly create copies of the slices to pass them to the comparison function. Fixes rust-lang#22008
Configuration menu - View commit details
-
Copy full SHA for 34ab88e - Browse repository at this point
Copy the full SHA 34ab88eView commit details -
Rollup merge of rust-lang#22394 - alexcrichton:vec-from-iter-comment,…
… r=brson Requested by Niko in rust-lang#22200 (and is good to have anyway)
Configuration menu - View commit details
-
Copy full SHA for 071f8cc - Browse repository at this point
Copy the full SHA 071f8ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0865df - Browse repository at this point
Copy the full SHA c0865dfView commit details -
Rollup merge of rust-lang#22402 - nagisa:spring-cleanup-2, r=nikomats…
…akis This commit mostly replaces some of the uses of os::args with env::args. This, for obvious reasons is based on top of rust-lang#22400. Do not r+ before that lands.
Configuration menu - View commit details
-
Copy full SHA for 2833976 - Browse repository at this point
Copy the full SHA 2833976View commit details -
Rollup merge of rust-lang#22408 - steveklabnik:gh19321, r=nikomatsakis
Fixes rust-lang#19321 ... I think? `make check` passes, but I'm not 100% sure that there's a test for that behavior. Thoughts?
Configuration menu - View commit details
-
Copy full SHA for be83d60 - Browse repository at this point
Copy the full SHA be83d60View commit details -
Rollup merge of rust-lang#22410 - Reignbeaux:master, r=steveklabnik
I just stumbled on a typo and fixed it.
Configuration menu - View commit details
-
Copy full SHA for 9eed8b1 - Browse repository at this point
Copy the full SHA 9eed8b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0adf2 - Browse repository at this point
Copy the full SHA 5e0adf2View commit details -
Rollup merge of rust-lang#22404 - semarie:signal_reported_right, r=at…
…uron The test \"signal_reported_right\" send a signal `1` to `/bin/sh`, and check the status code to check if the signal is reported right. Under OpenBSD, the signal `1` (`SIGHUP`) is catched by `/bin/sh`, resulting the test failed. Use the uncatchable signal `9` (`SIGKILL`) for test.
Configuration menu - View commit details
-
Copy full SHA for 1a1ac6c - Browse repository at this point
Copy the full SHA 1a1ac6cView commit details -
Rollup merge of rust-lang#22364 - Manishearth:rfc-572-forbid-attr, r=…
…nikomatsakis fixes rust-lang#22203 r? @nikomatsakis This breaks code that might be using attributes randomly, so it's technically a [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 4647d89 - Browse repository at this point
Copy the full SHA 4647d89View commit details -
Rollup merge of rust-lang#22311 - lfairy:consistent-fmt, r=alexcrichton
This brings it in line with its namesake in `std::io`. [breaking-change] r? @aturon
Configuration menu - View commit details
-
Copy full SHA for bf52f2e - Browse repository at this point
Copy the full SHA bf52f2eView commit details -
Rollup merge of rust-lang#22030 - mdinger:f32_examples, r=steveklabnik
Some examples for `std::num::Float` ~~This is WIP for making examples for `f32`. This probably won't pass `make tidy` and I'm not sure which `f32` needs documentation. rust-lang#22025 shows 2 sets of `f32` which seems split between `core` and `std`. I'm not sure which should be documented but I started doing a couple from `std`. Easy to move if that's where they go...~~ ~~Gotta build it eventually to actually see if the docs actually appear where I think they will or if I'm just disillusioned.~~ cc @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 0e89228 - Browse repository at this point
Copy the full SHA 0e89228View commit details -
Rollup merge of rust-lang#22383 - pnkfelix:pass-features-along-during…
…-expansion, r=huonw Pass features along during expansion Use the set of passed features to detect uses of feature-gated macros without the corresponding feature enabled. Fix rust-lang#22234. ---- Also, the framework this add (passing along a reference to the features in the expansion context) is a necessary precursor for landing a properly feature-gated desugaring-based overloaded-`box` and placement-`in` (rust-lang#22181). ---- This is fixing a bug, but since there might be code out there that is unknowingly taking advantage of that bug, I feel obligated to mark this as a: [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 020e4e4 - Browse repository at this point
Copy the full SHA 020e4e4View commit details -
Rollup merge of rust-lang#22393 - kmcallister:macros-chapter , r=stev…
…eklabnik This is a more introductory document, suitable for Part II. The arcane details move to an "Advanced macros" chapter in Part III. Conflicts: src/doc/trpl/macros.md
Configuration menu - View commit details
-
Copy full SHA for 09eb965 - Browse repository at this point
Copy the full SHA 09eb965View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb0bbf6 - Browse repository at this point
Copy the full SHA bb0bbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a672498 - Browse repository at this point
Copy the full SHA a672498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f51fc - Browse repository at this point
Copy the full SHA 10f51fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 096b105 - Browse repository at this point
Copy the full SHA 096b105View commit details