-
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 8 pull requests #35127
Rollup of 8 pull requests #35127
Commits on Jul 27, 2016
-
If a single import resolves to an inaccessible name in some but not a…
…ll namespaces, avoid importing the name in the inaccessible namespaces. Currently, the inaccessible namespaces are imported but cause a privacy error when used.
Configuration menu - View commit details
-
Copy full SHA for 132bff9 - Browse repository at this point
Copy the full SHA 132bff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8205691 - Browse repository at this point
Copy the full SHA 8205691View commit details -
Knight committed
Jul 27, 2016 Configuration menu - View commit details
-
Copy full SHA for 6ac83de - Browse repository at this point
Copy the full SHA 6ac83deView commit details
Commits on Jul 28, 2016
-
Rename _ to {numerics} for unknown numeric types
Jonathan Turner committedJul 28, 2016 Configuration menu - View commit details
-
Copy full SHA for cfdaca0 - Browse repository at this point
Copy the full SHA cfdaca0View commit details -
Add non-panicking abs() functions to all signed integer types.
Currently, calling abs() on one of the signed integer types might panic (in debug mode at least) because the absolute value of the largest negative value can not be represented in that signed type. Unlike all other integer operations, there is currently not a non-panicking version on this function. This seems to just be an oversight in the design, therefore just adding it now.
Jethro Beekman committedJul 28, 2016 Configuration menu - View commit details
-
Copy full SHA for cdc6afe - Browse repository at this point
Copy the full SHA cdc6afeView commit details -
Jonathan Turner committed
Jul 28, 2016 Configuration menu - View commit details
-
Copy full SHA for ea77049 - Browse repository at this point
Copy the full SHA ea77049View commit details -
Revert "Remove unused methods from MultiSpan"
This reverts commit f7019a4. This removed the only way to make a suggestion with more than one substitute. Bring it back until we come up with a better solution.
Configuration menu - View commit details
-
Copy full SHA for 6dc98cf - Browse repository at this point
Copy the full SHA 6dc98cfView commit details
Commits on Jul 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for f459e80 - Browse repository at this point
Copy the full SHA f459e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a41b31 - Browse repository at this point
Copy the full SHA 2a41b31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 415fde4 - Browse repository at this point
Copy the full SHA 415fde4View commit details
Commits on Jul 30, 2016
-
Rollup merge of rust-lang#35049 - knight42:add-test, r=alexcrichton
Add a test for AddAssign on String Fix rust-lang#35047
Configuration menu - View commit details
-
Copy full SHA for 96e3972 - Browse repository at this point
Copy the full SHA 96e3972View commit details -
Rollup merge of rust-lang#35058 - jethrogb:no_panic_abs, r=alexcrichton
Add non-panicking abs() functions to all signed integer types. Currently, calling abs() on one of the signed integer types might panic (in debug mode at least) because the absolute value of the largest negative value can not be represented in that signed type. Unlike all other integer operations, there is currently not a non-panicking version on this function. This seems to just be an oversight in the design, therefore just adding it now.
Configuration menu - View commit details
-
Copy full SHA for 6234610 - Browse repository at this point
Copy the full SHA 6234610View commit details -
Rollup merge of rust-lang#35063 - jseyfried:avoid_importing_inaccessi…
…ble_names, r=nrc resolve: Exclude inaccessible names from single imports If a single import resolves to an inaccessible name in some but not all namespaces, avoid importing the name in the inaccessible namespaces. Currently, the inaccessible namespaces are imported but cause a privacy error when used. r? @nrc
Configuration menu - View commit details
-
Copy full SHA for 8c6421f - Browse repository at this point
Copy the full SHA 8c6421fView commit details -
Rollup merge of rust-lang#35080 - jonathandturner:fix_numeric_expecte…
…d_found, r=nikomatsakis Rename _ to {integer} and {float} for unknown numeric types This PR renames _ to {integer} or {float} for unknown numeric types, to help people parse error messages that have numeric types that haven't been nailed down. Example: ```rust fn main() { let x: String = 4; } ``` Before: ``` error[E0308]: mismatched types --> quicktest.rs:2:21 | 2 | let x: String = 4; | ^ expected struct `std::string::String`, found integral variable | = note: expected type `std::string::String` = note: found type `_` error: aborting due to previous error ``` after: ``` error[E0308]: mismatched types --> quicktest.rs:2:21 | 2 | let x: String = 4; | ^ expected struct `std::string::String`, found integral variable | = note: expected type `std::string::String` = note: found type `{integer}` error: aborting due to previous error ``` ```
Configuration menu - View commit details
-
Copy full SHA for 26e22b8 - Browse repository at this point
Copy the full SHA 26e22b8View commit details -
Rollup merge of rust-lang#35090 - michaelwoerister:get-rid-of-id-visi…
…tor, r=eddyb intravisit: Fold functionality of IdVisitor into the regular Visitor.
Configuration menu - View commit details
-
Copy full SHA for e649a25 - Browse repository at this point
Copy the full SHA e649a25View commit details -
Rollup merge of rust-lang#35094 - mcarton:multispan, r=jonathandturner
Revert "Remove unused methods from MultiSpan" This reverts commit f7019a4. That commit removed the only way to make a suggestion with more than one substitute. That feature is not used directly by rustc but exists and is used by Clippy. Bring it back until we come up with a better solution (suggestions don't use span labels, so it would make sense for them to use their own type). Rational there: https://github.com/Manishearth/rust-clippy/pull/1119. r? @jonathandturner Cc @Manishearth
Configuration menu - View commit details
-
Copy full SHA for 6ea3ef7 - Browse repository at this point
Copy the full SHA 6ea3ef7View commit details -
Rollup merge of rust-lang#35104 - frewsxcv:linked-list-append, r=stev…
…eklabnik Rewrite `collections::LinkedList::append` doc example. None
Configuration menu - View commit details
-
Copy full SHA for ce79972 - Browse repository at this point
Copy the full SHA ce79972View commit details -
Rollup merge of rust-lang#35106 - xen0n:issue-35082, r=alexcrichton
syntax_ext: format: fix ICE with bad named arguments Fixes rust-lang#35082 by guarding against a new case of malformed invocation not previously covered. r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 0b64a56 - Browse repository at this point
Copy the full SHA 0b64a56View commit details