-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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 #83905
Rollup of 8 pull requests #83905
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b5782ba - Browse repository at this point
Copy the full SHA b5782baView commit details
Commits on Apr 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 98ad0af - Browse repository at this point
Copy the full SHA 98ad0afView commit details -
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e603f99 - Browse repository at this point
Copy the full SHA e603f99View commit details -
Co-authored-by: Camelid <camelidcamel@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0887944 - Browse repository at this point
Copy the full SHA 0887944View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7cf09 - Browse repository at this point
Copy the full SHA fb7cf09View commit details
Commits on Apr 3, 2021
-
expand: Do not ICE when a legacy AST-based macro attribute produces a…
…nd empty expression
Configuration menu - View commit details
-
Copy full SHA for cd22425 - Browse repository at this point
Copy the full SHA cd22425View commit details
Commits on Apr 4, 2021
-
rustdoc: sort search index items for compression
This should not affect the appearance of the docs pages themselves. This makes the pre-compressed search index smaller, thanks to the empty-string path duplication format, and also the gzipped version, by giving the algorithm more structure to work with. rust$ wc -c search-index-old.js search-index-new.js 2628334 search-index-old.js 2586181 search-index-new.js 5214515 total rust$ gzip search-index-* rust$ wc -c search-index-old.js.gz search-index-new.js.gz 239486 search-index-old.js.gz 237386 search-index-new.js.gz 476872 total
Configuration menu - View commit details
-
Copy full SHA for 5f92951 - Browse repository at this point
Copy the full SHA 5f92951View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2370e3b - Browse repository at this point
Copy the full SHA 2370e3bView commit details
Commits on Apr 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6ce9a02 - Browse repository at this point
Copy the full SHA 6ce9a02View commit details -
Configuration menu - View commit details
-
Copy full SHA for d63b3f9 - Browse repository at this point
Copy the full SHA d63b3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac04dbd - Browse repository at this point
Copy the full SHA ac04dbdView commit details -
Use more appropriate return type for
resolve_associated_item
Previously, the types looked like this: - None means this is not an associated item (but may be a variant field) - Some(Err) means this is known to be an error. I think the only way that can happen is if it resolved and but you had your own anchor. - Some(Ok(_, None)) was impossible. Now, this returns a nested Option and does the error handling and fiddling with the side channel in the caller. As a side-effect, it also removes duplicate error handling. This has one small change in behavior, which is that `resolve_primitive_associated_item` now goes through `variant_field` if it fails to resolve something. This is not ideal, but since it will be quickly rejected anyway, I think the performance hit is worth the cleanup. This also fixes a bug where struct fields would forget to set the side channel, adds a test for the bug, and ignores `private_intra_doc_links` in rustc_resolve (since it's always documented with --document-private-items).
Configuration menu - View commit details
-
Copy full SHA for 3b7e654 - Browse repository at this point
Copy the full SHA 3b7e654View commit details -
Document compiler/ with -Aprivate-intra-doc-links
Since compiler/ always passes --document-private-items, it's ok to link to items that are private.
Configuration menu - View commit details
-
Copy full SHA for 0a351ab - Browse repository at this point
Copy the full SHA 0a351abView commit details -
Add config file for tools enabling stage1 downloads by default
Otherwise no one will be able to find the setting.
Configuration menu - View commit details
-
Copy full SHA for f8653c9 - Browse repository at this point
Copy the full SHA f8653c9View commit details -
Rollup merge of rust-lang#83370 - jyn514:setup-tools, r=Mark-Simulacrum
Add `x.py setup tools` which enables `download-rustc` by default Helps with rust-lang#81930. I know I said in that issue that I should fix that rebasing rebuilds bootstrap, but the compile time improvement is so good I think it's ok to leave that fix for later (I still plan to work on it). I think all the outright bugs have been fixed :) This builds on rust-lang#83368 so I can set the option to `if-unchanged`. r? ```@Mark-Simulacrum```
Configuration menu - View commit details
-
Copy full SHA for e5edded - Browse repository at this point
Copy the full SHA e5eddedView commit details -
Rollup merge of rust-lang#83489 - LeSeulArtichaut:deref-else, r=david…
…twco Properly suggest deref in else block Continues rust-lang#79755, fixes rust-lang#79736 r? `@davidtwco`
Configuration menu - View commit details
-
Copy full SHA for d9f123a - Browse repository at this point
Copy the full SHA d9f123aView commit details -
Rollup merge of rust-lang#83734 - JohnTitor:issue-83621, r=davidtwco
Catch a bad placeholder type error for statics in `extern`s Fixes rust-lang#83621
Configuration menu - View commit details
-
Copy full SHA for 76be7e2 - Browse repository at this point
Copy the full SHA 76be7e2View commit details -
Rollup merge of rust-lang#83814 - petrochenkov:emptyexpr, r=davidtwco
expand: Do not ICE when a legacy AST-based macro attribute produces and empty expression Fixes rust-lang#80251 The reported error is the same as for `let _ = #[cfg(FALSE)] EXPR;`
Configuration menu - View commit details
-
Copy full SHA for 67ffbed - Browse repository at this point
Copy the full SHA 67ffbedView commit details -
Rollup merge of rust-lang#83835 - notriddle:sort-index, r=ollie27
rustdoc: sort search index items for compression This should not affect the appearance of the docs pages themselves. This makes the pre-compressed search index smaller, thanks to the empty-string path duplication format, and also the gzipped version, by giving the algorithm more structure to work with. rust$ wc -c search-index-old.js search-index-new.js 2628334 search-index-old.js 2586181 search-index-new.js 5214515 total rust$ gzip search-index-* rust$ wc -c search-index-old.js.gz search-index-new.js.gz 239486 search-index-old.js.gz 237386 search-index-new.js.gz 476872 total
Configuration menu - View commit details
-
Copy full SHA for 12d007d - Browse repository at this point
Copy the full SHA 12d007dView commit details -
Rollup merge of rust-lang#83849 - jyn514:intra-doc-cleanup, r=bugadani
rustdoc: Cleanup handling of associated items for intra-doc links Helps with rust-lang#83761 (right now the uses of the resolver are all intermingled with uses of the tyctxt). Best reviewed one commit at a time. r? ```@bugadani``` maybe? Feel free to reassign :)
Configuration menu - View commit details
-
Copy full SHA for f93412f - Browse repository at this point
Copy the full SHA f93412fView commit details -
Rollup merge of rust-lang#83881 - lnicola:rust-analyzer-2021-04-05, r…
…=jonas-schievink ⬆️ rust-analyzer
Configuration menu - View commit details
-
Copy full SHA for fb6eb4a - Browse repository at this point
Copy the full SHA fb6eb4aView commit details -
Rollup merge of rust-lang#83885 - jyn514:private-links, r=Mark-Simula…
…crum Document compiler/ with -Aprivate-intra-doc-links Since compiler/ always passes --document-private-items, it's ok to link to items that are private.
Configuration menu - View commit details
-
Copy full SHA for d8c04b1 - Browse repository at this point
Copy the full SHA d8c04b1View commit details