-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 5 pull requests #91691
Rollup of 5 pull requests #91691
Commits on Dec 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 41b1bcb - Browse repository at this point
Copy the full SHA 41b1bcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d535b4 - Browse repository at this point
Copy the full SHA 9d535b4View commit details
Commits on Dec 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d761e84 - Browse repository at this point
Copy the full SHA d761e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08dca19 - Browse repository at this point
Copy the full SHA 08dca19View commit details -
Configuration menu - View commit details
-
Copy full SHA for d07cef2 - Browse repository at this point
Copy the full SHA d07cef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3167a2 - Browse repository at this point
Copy the full SHA d3167a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8c9314 - Browse repository at this point
Copy the full SHA a8c9314View commit details -
Configuration menu - View commit details
-
Copy full SHA for 883d0a7 - Browse repository at this point
Copy the full SHA 883d0a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5478f43 - Browse repository at this point
Copy the full SHA 5478f43View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f7b8d - Browse repository at this point
Copy the full SHA f0f7b8dView commit details
Commits on Dec 9, 2021
-
Rollup merge of rust-lang#91042 - Kobzol:vec-extend-cleanup, r=nagisa
Use Vec extend instead of repeated pushes on several places Inspired by rust-lang#90813, I tried to use a simple regex (`for .*in.*\{\n.*push\(.*\);\n\s+}`) to search for more places that would use `Vec::push` in a loop and replace them with `Vec::extend`. These probably won't have as much perf. impact as the original PR (if any), but it would probably be better to do a perf run to see if there are not any regressions.
Configuration menu - View commit details
-
Copy full SHA for 793648a - Browse repository at this point
Copy the full SHA 793648aView commit details -
Rollup merge of rust-lang#91476 - m-ou-se:ferris-identifier, r=estebank
Improve 'cannot contain emoji' error. Before: ``` error: identifiers cannot contain emoji: `🦀` --> src/main.rs:2:9 | 2 | let 🦀 = 1; | ^^ ``` After: ``` error: Ferris cannot be used as an identifier --> src/main.rs:2:9 | 2 | let 🦀 = 1; | ^^ help: try using their name instead: `ferris` ``` r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for dc834f0 - Browse repository at this point
Copy the full SHA dc834f0View commit details -
Rollup merge of rust-lang#91568 - dtolnay:breakspace, r=nagisa
Pretty print break and continue without redundant space **Repro:** ```rust macro_rules! m { ($e:expr) => { stringify!($e) }; } fn main() { println!("{:?}", m!(loop { break; })); println!("{:?}", m!(loop { break 'a; })); println!("{:?}", m!(loop { break false; })); } ``` **Before:** - `"loop { break ; }"` - `"loop { break 'a ; }"` - `"loop { break false ; }"` **After:** - `"loop { break; }"` - `"loop { break 'a; }"` - `"loop { break false; }"` <br> Notice that `return` and `yield` already follow the same approach as this PR of printing the space *before* each additional piece following the keyword, rather than *after* each thing. https://github.com/rust-lang/rust/blob/772d51f887fa407216860bf8ecf3f1a32fb795b4/compiler/rustc_ast_pretty/src/pprust/state.rs#L2148-L2154 https://github.com/rust-lang/rust/blob/772d51f887fa407216860bf8ecf3f1a32fb795b4/compiler/rustc_ast_pretty/src/pprust/state.rs#L2221-L2228
Configuration menu - View commit details
-
Copy full SHA for f820496 - Browse repository at this point
Copy the full SHA f820496View commit details -
Rollup merge of rust-lang#91645 - ibraheemdev:future-join, r=joshtrip…
…lett Implement `core::future::join!` `join!` polls multiple futures concurrently and returns their outputs. ```rust async fn run() { let (a, b) = join!(async { 0 }, async { 1 }); } ``` cc `@rust-lang/wg-async-foundations`
Configuration menu - View commit details
-
Copy full SHA for 90c3e9a - Browse repository at this point
Copy the full SHA 90c3e9aView commit details -
Rollup merge of rust-lang#91666 - RalfJung:miri, r=RalfJung
update Miri Fixes rust-lang#91649 r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for 229aa1b - Browse repository at this point
Copy the full SHA 229aa1bView commit details