-
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 #131624
Rollup of 8 pull requests #131624
Commits on Sep 23, 2024
-
Check ABI target compatibility for function pointers
This check was previously only performed on functions not function pointers. Co-authored-by: Folkert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47293c1 - Browse repository at this point
Copy the full SHA 47293c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 867e776 - Browse repository at this point
Copy the full SHA 867e776View commit details
Commits on Sep 29, 2024
-
make
Step
doc-comments more clearSigned-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ef0ba2 - Browse repository at this point
Copy the full SHA 8ef0ba2View commit details
Commits on Oct 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 925e7e6 - Browse repository at this point
Copy the full SHA 925e7e6View commit details
Commits on Oct 10, 2024
-
More clearly document Stdin::read_line
These are common pitfalls for beginners, so I think it's worth making the subtleties more visible.
Configuration menu - View commit details
-
Copy full SHA for 2035737 - Browse repository at this point
Copy the full SHA 2035737View commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9a2772e - Browse repository at this point
Copy the full SHA 9a2772eView commit details
Commits on Oct 12, 2024
-
Emit an error for unstable attributes that reference already stable f…
…eatures Add missing error annotations and .stderr file Acknowledge comments
Configuration menu - View commit details
-
Copy full SHA for 497100a - Browse repository at this point
Copy the full SHA 497100aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 043928a - Browse repository at this point
Copy the full SHA 043928aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0661ec - Browse repository at this point
Copy the full SHA a0661ecView commit details -
Rollup merge of rust-lang#128784 - tdittr:check-abi-on-fn-ptr, r=comp…
…iler-errors Check ABI target compatibility for function pointers Tracking issue: rust-lang#130260 Related tracking issue: rust-lang#87678 Compatibility of an ABI for a target was previously only performed on function definitions and `extern` blocks. This PR adds it also to function pointers to be consistent. This might have broken some of the `tests/ui/` depending on the platform, so a try run seems like a good idea. Also this might break existing code, because we now emit extra errors. Does this require a crater run? # Example ```rust // build with: --target=x86_64-unknown-linux-gnu // These raise E0570 extern "thiscall" fn foo() {} extern "thiscall" { fn bar() } // This did not raise any error fn baz(f: extern "thiscall" fn()) { f() } ``` # Open Questions * [x] Should this report a future incompatibility warning like rust-lang#87678 ? * [ ] Is this the best place to perform the check?
Configuration menu - View commit details
-
Copy full SHA for 5079679 - Browse repository at this point
Copy the full SHA 5079679View commit details -
Rollup merge of rust-lang#130965 - onur-ozkan:bootstrap-step-trait-do…
…c, r=Mark-Simulacrum make `Step` doc-comments more clear Aiming to improve complicated `Step` documentation. Once we merge this, I will update [this page](https://rustc-dev-guide.rust-lang.org/building/bootstrapping/how-bootstrap-does-it.html?highlight=Step#synopsis-of--step) too.
Configuration menu - View commit details
-
Copy full SHA for a676b83 - Browse repository at this point
Copy the full SHA a676b83View commit details -
Rollup merge of rust-lang#131239 - VulnBandit:trait-vulnerability, r=…
…lcnr Don't assume traits used as type are trait objs in 2021 edition Fixes rust-lang#127548 When you use a trait as a type, the compiler automatically assumes you meant to use a trait object, which is not always the case. This PR fixes the bug where you don't need a trait object, so the error message was changed to: ``` error[E0782]: expected a type, found a trait ``` Also fixes some ICEs: Fixes rust-lang#120241 Fixes rust-lang#120482 Fixes rust-lang#125512
Configuration menu - View commit details
-
Copy full SHA for 5ce78bf - Browse repository at this point
Copy the full SHA 5ce78bfView commit details -
Rollup merge of rust-lang#131277 - ismailarilik:handle-potential-quer…
…y-instability-lint-for-clippy, r=xFrednet Handle `clippy` cases of `rustc::potential_query_instability` lint This PR removes `#![allow(rustc::potential_query_instability)]` line from [`src/tools/clippy/clippy_lints/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/src/tools/clippy/clippy_lints/src/lib.rs#L30) and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors. A somewhat tracking issue: rust-lang#84447
Configuration menu - View commit details
-
Copy full SHA for e85b23e - Browse repository at this point
Copy the full SHA e85b23eView commit details -
Rollup merge of rust-lang#131503 - theemathas:stdin_read_line_docs, r…
…=Mark-Simulacrum More clearly document Stdin::read_line These are common pitfalls for beginners, so I think it's worth making the subtleties more visible.
Configuration menu - View commit details
-
Copy full SHA for df9ba78 - Browse repository at this point
Copy the full SHA df9ba78View commit details -
Rollup merge of rust-lang#131567 - CastilloDel:reject-unstable-with-a…
…ccepted-features, r=jieyouxu Emit an error for unstable attributes that reference already stable features Closes rust-lang#129814
Configuration menu - View commit details
-
Copy full SHA for 79d8116 - Browse repository at this point
Copy the full SHA 79d8116View commit details -
Rollup merge of rust-lang#131616 - RalfJung:const_ip, r=tgross35
merge const_ipv4 / const_ipv6 feature gate into 'ip' feature gate rust-lang#76205 has been closed a while ago, but there are still some functions that reference it. Those functions are all unstable *and* const-unstable. There's no good reason to use a separate feature gate for their const-stability, so this PR moves their const-stability under the same gate as their regular stability, and therefore removes the remaining references to rust-lang#76205.
Configuration menu - View commit details
-
Copy full SHA for 1b941a7 - Browse repository at this point
Copy the full SHA 1b941a7View commit details -
Rollup merge of rust-lang#131617 - RalfJung:const_cow_is_borrowed, r=…
…tgross35 remove const_cow_is_borrowed feature gate The two functions guarded by this are still unstable, and there's no reason to require a separate feature gate for their const-ness -- we can just have `cow_is_borrowed` cover both kinds of stability. Cc rust-lang#65143
Configuration menu - View commit details
-
Copy full SHA for 1787b68 - Browse repository at this point
Copy the full SHA 1787b68View commit details