-
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 9 pull requests #130237
Rollup of 9 pull requests #130237
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 736ab66 - Browse repository at this point
Copy the full SHA 736ab66View commit details -
Suggest the struct variant pattern syntax on usage of unit variant pa…
…ttern for a struct variant
Configuration menu - View commit details
-
Copy full SHA for 2ddcbca - Browse repository at this point
Copy the full SHA 2ddcbcaView commit details
Commits on Sep 9, 2024
-
add
git_merge_commit_email
intoGitConfig
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 05043a3 - Browse repository at this point
Copy the full SHA 05043a3View commit details -
implement
build_helper::git::get_closest_merge_commit
Compare to `get_git_merge_base`, this doesn't require configuring the upstream remote. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for dc9c5f2 - Browse repository at this point
Copy the full SHA dc9c5f2View commit details -
replace
get_closest_merge_base_commit
withget_closest_merge_commit
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 9aa823c - Browse repository at this point
Copy the full SHA 9aa823cView commit details -
handle
GitConfig
fortools/suggest-tests
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 12998c2 - Browse repository at this point
Copy the full SHA 12998c2View commit details
Commits on Sep 10, 2024
-
handle
GitConfig
fortools/compiletest
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 35ce85e - Browse repository at this point
Copy the full SHA 35ce85eView commit details -
skip formatting if no files have been modified
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 0a7f9e2 - Browse repository at this point
Copy the full SHA 0a7f9e2View commit details -
Report the
note
when specified indiagnostic::on_unimplemented
Signed-off-by: FedericoBruzzone <federico.bruzzone.i@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4cecf42 - Browse repository at this point
Copy the full SHA 4cecf42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f81597 - Browse repository at this point
Copy the full SHA 8f81597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49b3df9 - Browse repository at this point
Copy the full SHA 49b3df9View commit details -
Clarify docs for std::collections
Page affected: https://doc.rust-lang.org/std/collections/index.html#performance Changes: - bulleted conventions - expanded definitions on terms used - more accessible language - merged Sequence and Map performance cost tables
Configuration menu - View commit details
-
Copy full SHA for 4198594 - Browse repository at this point
Copy the full SHA 4198594View commit details
Commits on Sep 11, 2024
-
document the new git logic in more detail
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 5f32717 - Browse repository at this point
Copy the full SHA 5f32717View commit details -
Fix false positive with
missing_docs
and#[test]
Since rust-lang#130025, the compiler don't ignore missing_docs when compiling the tests. But there is now a false positive warning for every `#[test]` For example, this code ```rust //! Crate docs fn just_a_test() {} ``` Would emit this warning when running `cargo test` ``` warning: missing documentation for a constant --> src/lib.rs:5:1 | 4 | #[test] | ------- in this procedural macro expansion 5 | fn just_a_test() {} | ^^^^^^^^^^^^^^^^^^^ ```
Configuration menu - View commit details
-
Copy full SHA for 6eddbb7 - Browse repository at this point
Copy the full SHA 6eddbb7View commit details -
Vetle Rasmussen committed
Sep 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 9566163 - Browse repository at this point
Copy the full SHA 9566163View commit details -
Use
#[doc(hidden)]
instead of#[allow(missing_docs)]
on the const…… generated for `#[test]`
Configuration menu - View commit details
-
Copy full SHA for 5d456df - Browse repository at this point
Copy the full SHA 5d456dfView commit details -
Use
doc(hidden)
instead ofallow(missing_docs)
in the test harnessSo that it doesn't fail with `forbid(missing_docs)` Fixes rust-lang#130218
Configuration menu - View commit details
-
Copy full SHA for cc34d64 - Browse repository at this point
Copy the full SHA cc34d64View commit details -
Rollup merge of rust-lang#129260 - wafarm:dont-suggest-closures, r=co…
…mpiler-errors Don't suggest adding return type for closures with default return type Follow up of rust-lang#129223 r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 76e070f - Browse repository at this point
Copy the full SHA 76e070fView commit details -
Rollup merge of rust-lang#129520 - tunawasabi:suggest-adding-struct-p…
…attern-syntax, r=compiler-errors Suggest the correct pattern syntax on usage of unit variant pattern for a struct variant Closes rust-lang#126243 I add a suggestion on usage of unit variant pattern for a struct variant.
Configuration menu - View commit details
-
Copy full SHA for 1d6edee - Browse repository at this point
Copy the full SHA 1d6edeeView commit details -
Rollup merge of rust-lang#129866 - root-goblin:patch-1, r=workingjubilee
Clarify documentation labelling and definitions for std::collections Page affected: https://doc.rust-lang.org/std/collections/index.html#performance Changes: - bulleted conventions - expanded definitions on terms used - more accessible language - more informative headings
Configuration menu - View commit details
-
Copy full SHA for 6d7ccad - Browse repository at this point
Copy the full SHA 6d7ccadView commit details -
Rollup merge of rust-lang#130123 - FedericoBruzzone:master, r=compile…
…r-errors Report the `note` when specified in `diagnostic::on_unimplemented` Before this PR the `note` field was completely ignored for some reason, now it is shown (I think) correctly during the hir typechecking phase. 1. Report the `note` when specified in `diagnostic::on_unimplemented` 2. Added a test for unimplemented trait diagnostic 3. Added a test for custom unimplemented trait diagnostic Close rust-lang#130084 P.S. This is my first PR to rustc.
Configuration menu - View commit details
-
Copy full SHA for 5107ff4 - Browse repository at this point
Copy the full SHA 5107ff4View commit details -
Rollup merge of rust-lang#130161 - onur-ozkan:fmt-changed-files, r=Ko…
…bzol,RalfJung refactor merge base logic and fix `x fmt` When remote upstream is not configured, using [get_git_modified_files](https://github.com/rust-lang/rust/blob/38e3a5771cefc9362976a605549f8b04d5707311/src/tools/build_helper/src/git.rs#L114) to find modified files fails because [get_rust_lang_rust_remote](https://github.com/rust-lang/rust/blob/38e3a5771cefc9362976a605549f8b04d5707311/src/tools/build_helper/src/git.rs#L46-L48) can not resolve "rust-lang/rust" from the git output. The changes in this PR makes bootstrap to find the latest bors commit, treating it as the "closest upstream commit" so that the change tracker logic can use it to find the diffs. In addition, [skips formatting](rust-lang@e392454) if there are no modified files. Fixes rust-lang#130147
Configuration menu - View commit details
-
Copy full SHA for ff4b3d4 - Browse repository at this point
Copy the full SHA ff4b3d4View commit details -
Rollup merge of rust-lang#130206 - GrigorenkoPV:WSAEDQUOT, r=ChrisDenton
Map `WSAEDQUOT` to `ErrorKind::FilesystemQuotaExceeded` cc rust-lang#86442 As summarized in rust-lang#130190, there seems to be a consensus that this should be done.
Configuration menu - View commit details
-
Copy full SHA for e68dadb - Browse repository at this point
Copy the full SHA e68dadbView commit details -
Rollup merge of rust-lang#130207 - GrigorenkoPV:ERROR_CANT_RESOLVE_FI…
…LENAME, r=ChrisDenton Map `ERROR_CANT_RESOLVE_FILENAME` to `ErrorKind::FilesystemLoop` cc rust-lang#86442 As summarized in rust-lang#130188, there seems to be a consensus that this should be done.
Configuration menu - View commit details
-
Copy full SHA for 78cf023 - Browse repository at this point
Copy the full SHA 78cf023View commit details -
Rollup merge of rust-lang#130219 - ogoffart:missing-docs-test, r=Urgau
Fix false positive with `missing_docs` and `#[test]` Since rust-lang#130025, the compiler don't ignore missing_docs when compiling the tests. But there is now a false positive warning for every `#[test]` For example, this code ```rust //! Crate docs fn just_a_test() {} ``` Would emit this warning when running `cargo test` ``` warning: missing documentation for a constant --> src/lib.rs:5:1 | 4 | #[test] | ------- in this procedural macro expansion 5 | fn just_a_test() {} | ^^^^^^^^^^^^^^^^^^^ ```
Configuration menu - View commit details
-
Copy full SHA for 66727ea - Browse repository at this point
Copy the full SHA 66727eaView commit details -
Rollup merge of rust-lang#130221 - vetleras:pub_search_path_new, r=ch…
…enyukang Make SearchPath::new public I'm writing a tool that uses `rustc_interface`, and would like to construct `SearchPath` with its `new` method. As all three fields in `SearchPath` are public anyway, the proposed change should not change the privacy or encapsulation of the struct.
Configuration menu - View commit details
-
Copy full SHA for 678c249 - Browse repository at this point
Copy the full SHA 678c249View commit details