-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 7 pull requests #37937
Rollup of 7 pull requests #37937
Commits on Nov 17, 2016
-
Clarify the reference's status.
The former wording only gave part of the picture, we want to be crystal clear about this.
Configuration menu - View commit details
-
Copy full SHA for c5e6dfc - Browse repository at this point
Copy the full SHA c5e6dfcView commit details
Commits on Nov 20, 2016
-
Provide hint when cast needs a dereference
For a given code: ```rust vec![0.0].iter().map(|s| s as i16).collect::<Vec<i16>>(); ``` display: ```nocode error: casting `&f64` as `i16` is invalid --> foo.rs:2:35 | 2 | vec![0.0].iter().map(|s| s as i16).collect::<Vec<i16>>(); | - ^^^ cannot cast `&f64` as `i16` | | | did you mean `*s`? ``` instead of: ```nocode error: casting `&f64` as `i16` is invalid --> <anon>:2:30 | 2 | vec![0.0].iter().map(|s| s as i16).collect(); | ^^^^^^^^ | = help: cast through a raw pointer first ```
Configuration menu - View commit details
-
Copy full SHA for ec24442 - Browse repository at this point
Copy the full SHA ec24442View commit details
Commits on Nov 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for ff433da - Browse repository at this point
Copy the full SHA ff433daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e795d38 - Browse repository at this point
Copy the full SHA e795d38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9170ddf - Browse repository at this point
Copy the full SHA 9170ddfView commit details -
Use SmallVec for TypeWalker's stack.
The change also adds the missing `SmallVec::truncate` method.
Configuration menu - View commit details
-
Copy full SHA for f72685f - Browse repository at this point
Copy the full SHA f72685fView commit details
Commits on Nov 22, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c0464ee - Browse repository at this point
Copy the full SHA c0464eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12f3caf - Browse repository at this point
Copy the full SHA 12f3cafView commit details
Commits on Nov 23, 2016
-
Rollup merge of rust-lang#37442 - estebank:cast-deref-hint, r=jonatha…
…ndturner Provide hint when cast needs a dereference For a given code: ``` rust vec![0.0].iter().map(|s| s as i16).collect::<Vec<i16>>(); ``` display: ``` nocode error: casting `&f64` as `i16` is invalid --> file3.rs:2:35 | 2 | vec![0.0].iter().map(|s| s as i16).collect::<Vec<i16>>(); | - ^^^ | | | did you mean `*s`? ``` instead of: ``` nocode error: casting `&f64` as `i16` is invalid --> <anon>:2:30 | 2 | vec![0.0].iter().map(|s| s as i16).collect(); | ^^^^^^^^ | = help: cast through a raw pointer first ``` Fixes rust-lang#37338.
Configuration menu - View commit details
-
Copy full SHA for 464cce9 - Browse repository at this point
Copy the full SHA 464cce9View commit details -
Rollup merge of rust-lang#37760 - nnethercote:TypeWalker-SmallVector,…
… r=arielb1 Type walker small vector These two changes avoid allocations on some hot paths and speed up a few workloads (some from rustc-benchmarks, as well as the workload from rust-lang#36799) by 1--2%.
Configuration menu - View commit details
-
Copy full SHA for 496a411 - Browse repository at this point
Copy the full SHA 496a411View commit details -
Rollup merge of rust-lang#37836 - steveklabnik:remove-incorrect-refer…
…ence-comment, r=GuillaumeGomez Clarify the reference's status. The former wording only gave part of the picture, we want to be crystal clear about this. /cc @petrochenkov, who had concerns about rust-lang#37820
Configuration menu - View commit details
-
Copy full SHA for 067ffdd - Browse repository at this point
Copy the full SHA 067ffddView commit details -
Rollup merge of rust-lang#37851 - jneem:master, r=sanxiyn
Add a regression test for issue 23699. This should close rust-lang#23699
Configuration menu - View commit details
-
Copy full SHA for 761c738 - Browse repository at this point
Copy the full SHA 761c738View commit details -
Rollup merge of rust-lang#37913 - GuillaumeGomez:socket-v4, r=frewsxcv
Add missing examples for SocketAddrV4 r? @steveklabnik cc @frewsxcv
Configuration menu - View commit details
-
Copy full SHA for 881115c - Browse repository at this point
Copy the full SHA 881115cView commit details -
Rollup merge of rust-lang#37925 - jtdowney:env-args-doc-links, r=stev…
…eklabnik Add some internal docs links for Args/ArgsOs In many places the docs link to other sections and I noticed it was lacking here. Not sure if there is a standard for if inter-linking is appropriate.
Configuration menu - View commit details
-
Copy full SHA for cfc7fce - Browse repository at this point
Copy the full SHA cfc7fceView commit details -
Rollup merge of rust-lang#37938 - michaelwoerister:move-myriad-closur…
…es, r=eddyb Move the myriad-closures.rs test case to run-pass-full test suite. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 90a2671 - Browse repository at this point
Copy the full SHA 90a2671View commit details -
Rollup merge of rust-lang#37940 - michaelwoerister:ich-struct-constru…
…ctors, r=nikomatsakis ICH: Add test case for struct constructor expressions. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for d2c600a - Browse repository at this point
Copy the full SHA d2c600aView commit details