-
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 #93468
Rollup of 8 pull requests #93468
Commits on Jan 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 571356c - Browse repository at this point
Copy the full SHA 571356cView commit details
Commits on Jan 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1ab97db - Browse repository at this point
Copy the full SHA 1ab97dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6de4d5 - Browse repository at this point
Copy the full SHA c6de4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f6e3e - Browse repository at this point
Copy the full SHA c6f6e3eView commit details -
rustdoc: remove tooltip from source link
This made more sense back when it was abbreviated, but now it seems redundant.
Configuration menu - View commit details
-
Copy full SHA for 2e38e3b - Browse repository at this point
Copy the full SHA 2e38e3bView commit details
Commits on Jan 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2188c55 - Browse repository at this point
Copy the full SHA 2188c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a814b8 - Browse repository at this point
Copy the full SHA 9a814b8View commit details -
rustdoc: load the set of in-scope traits for modules with no docstring
Fixes rust-lang#93428 This fix is a response to a couple of special cases related to the `module_id`, which is eventually used for trait candidates: * The module id is always set to the current crate, when checking `crate::`. Normally, the set of in-scope traits would be set in `load_links_in_attrs`, but if there are no doc comments, then that loop will never run. * the module id is set to the parent module, when resolving a module that is spelled like this: // Notice how we use an outlined doc comment here! // [`Test::my_fn`] mod something { } As with the above problem with `crate::`, we need to make sure the module gets its traits in scope resolved, even if it has no doc comments of its own.
Configuration menu - View commit details
-
Copy full SHA for 3903ca1 - Browse repository at this point
Copy the full SHA 3903ca1View commit details
Commits on Jan 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6667d78 - Browse repository at this point
Copy the full SHA 6667d78View commit details -
fs: Don't copy d_name from struct dirent
The dirent returned from readdir() is only guaranteed to be valid for d_reclen bytes on common platforms. Since we copy the name separately anyway, we can copy everything except d_name into DirEntry::entry. Fixes rust-lang#93384.
Configuration menu - View commit details
-
Copy full SHA for f8f4c40 - Browse repository at this point
Copy the full SHA f8f4c40View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c8b29 - Browse repository at this point
Copy the full SHA d0c8b29View commit details -
Rollup merge of rust-lang#93256 - EFanZh:patch-1, r=joshtriplett
Make `join!` description more accurate
Configuration menu - View commit details
-
Copy full SHA for 6e2593d - Browse repository at this point
Copy the full SHA 6e2593dView commit details -
Rollup merge of rust-lang#93358 - compiler-errors:is-not-const, r=fee…
…1-dead Add note suggesting that predicate may be satisfied, but is not `const` Not sure if we should be printing this in addition to, or perhaps _instead_ of the help message: ``` help: the trait `~const Add` is not implemented for `NonConstAdd` ``` Also added `ParamEnv::is_const` and `PolyTraitPredicate::is_const_if_const` and, in a separate commit, used those in other places instead of `== hir::Constness::Const`, etc. r? ````@fee1-dead````
Configuration menu - View commit details
-
Copy full SHA for 103c3a3 - Browse repository at this point
Copy the full SHA 103c3a3View commit details -
Rollup merge of rust-lang#93362 - compiler-errors:ice-gat-in-rpit, r=…
…oli-obk Do not register infer var for GAT projection in RPIT Fixes rust-lang#93340 Fixes rust-lang#91603 r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for 4484165 - Browse repository at this point
Copy the full SHA 4484165View commit details -
Rollup merge of rust-lang#93391 - notriddle:notriddle/remove-srclink-…
…tooltip, r=jsha,GuillaumeGomez rustdoc: remove tooltip from source link This made more sense back when it was abbreviated, but now it seems redundant.
Configuration menu - View commit details
-
Copy full SHA for 0b2359b - Browse repository at this point
Copy the full SHA 0b2359bView commit details -
Rollup merge of rust-lang#93414 - Amanieu:std_arch_detect, r=m-ou-se
Move unstable is_{arch}_feature_detected! macros to std::arch These macros are unstable, except for `is_x86_feature_detected` which is still exported from the crate root for backwards-compatibility. This should unblock the stabilization of `is_aarch64_feature_detected`. r? ```@m-ou-se```
Configuration menu - View commit details
-
Copy full SHA for 329753e - Browse repository at this point
Copy the full SHA 329753eView commit details -
Rollup merge of rust-lang#93441 - notriddle:notriddle/collect-crate-d…
…oc-links-very-early, r=petrochenkov rustdoc: load the set of in-scope traits for modules with no docstring Fixes rust-lang#93428 This fix is a response to a couple of special cases related to the `module_id`, which is eventually used for trait candidates: * The module id is always set to the current crate, when checking `crate::`. Normally, the set of in-scope traits would be set in `load_links_in_attrs`, but if there are no doc comments, then that loop will never run. * the module id is set to the parent module, when resolving a module that is spelled like this: // Notice how we use an outlined doc comment here! // [`Test::my_fn`] mod something { } As with the above problem with `crate::`, we need to make sure the module gets its traits in scope resolved, even if it has no doc comments of its own.
Configuration menu - View commit details
-
Copy full SHA for 605ffd6 - Browse repository at this point
Copy the full SHA 605ffd6View commit details -
Rollup merge of rust-lang#93459 - tavianator:dirent-copy-only-reclen,…
… r=cuviper fs: Don't copy d_name from struct dirent The dirent returned from readdir() is only guaranteed to be valid for d_reclen bytes on common platforms. Since we copy the name separately anyway, we can copy everything except d_name into DirEntry::entry. Fixes rust-lang#93384.
Configuration menu - View commit details
-
Copy full SHA for 0d08bbc - Browse repository at this point
Copy the full SHA 0d08bbcView commit details -
Rollup merge of rust-lang#93463 - dtolnay:_args, r=cjgillot
Rename _args -> args in format_args expansion As observed in rust-lang#91359 (comment), prior to that PR this variable was sometimes never used, such as in the case of: ```rust println!(""); // used to expand to: ::std::io::_print( ::core::fmt::Arguments::new_v1( &["\n"], &match () { _args => [], }, ), ); ``` so the leading underscore in `_args` was used to suppress an unused variable lint. However after rust-lang#91359 the variable is always used when present, as the unused case would instead expand to: ```rust ::std::io::_print(::core::fmt::Arguments::new_v1(&["\n"], &[])); ```
Configuration menu - View commit details
-
Copy full SHA for 9f6d0cb - Browse repository at this point
Copy the full SHA 9f6d0cbView commit details