-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #97679
Rollup of 5 pull requests #97679
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a09b8a - Browse repository at this point
Copy the full SHA 7a09b8aView commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fafccdc - Browse repository at this point
Copy the full SHA fafccdcView commit details -
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
Configuration menu - View commit details
-
Copy full SHA for d5a590f - Browse repository at this point
Copy the full SHA d5a590fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7676f07 - Browse repository at this point
Copy the full SHA 7676f07View commit details -
On E0204 suggest missing type param bounds
``` error[E0204]: the trait `Copy` may not be implemented for this type --> f42.rs:9:17 | 9 | #[derive(Debug, Copy, Clone)] | ^^^^ 10 | pub struct AABB<K>{ 11 | pub loc: Vector2<K>, | ------------------- this field does not implement `Copy` 12 | pub size: Vector2<K> | -------------------- this field does not implement `Copy` | note: the `Copy` impl for `Vector2<K>` requires that `K: Debug` --> f42.rs:11:5 | 11 | pub loc: Vector2<K>, | ^^^^^^^^^^^^^^^^^^^ note: the `Copy` impl for `Vector2<K>` requires that `K: Debug` --> f42.rs:12:5 | 12 | pub size: Vector2<K> | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider restricting type parameter `K` | 10 | pub struct AABB<K: Debug>{ | +++++++ ``` Fix rust-lang#89137.
Configuration menu - View commit details
-
Copy full SHA for 8567b68 - Browse repository at this point
Copy the full SHA 8567b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd3861 - Browse repository at this point
Copy the full SHA 7dd3861View commit details -
Configuration menu - View commit details
-
Copy full SHA for dadf3bd - Browse repository at this point
Copy the full SHA dadf3bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9aa2e0 - Browse repository at this point
Copy the full SHA f9aa2e0View commit details
Commits on Jun 3, 2022
-
Rollup merge of rust-lang#97366 - WaffleLapkin:stabilize_array_slice_…
…from_ref, r=dtolnay Stabilize `{slice,array}::from_ref` This PR stabilizes the following APIs as `const` functions in Rust `1.63`: ```rust // core::array pub const fn from_ref<T>(s: &T) -> &[T; 1]; // core::slice pub const fn from_ref<T>(s: &T) -> &[T]; ``` Note that the `mut` versions are not stabilized as unique references (`&mut _`) are [unstable in const context]. FCP: rust-lang#90206 (comment) r? rust-lang/libs-api `@rustbot` label +T-libs-api -T-libs [unstable in const context]: rust-lang#57349
Configuration menu - View commit details
-
Copy full SHA for 025cf96 - Browse repository at this point
Copy the full SHA 025cf96View commit details -
Rollup merge of rust-lang#97653 - RalfJung:int-to-ptr, r=oli-obk
add cast kind of from_exposed_addr (int-to-ptr casts) This is basically the dual to rust-lang#97582, for int2ptr casts. Cc `@tmiasko` rust-lang#97649
Configuration menu - View commit details
-
Copy full SHA for f116dd7 - Browse repository at this point
Copy the full SHA f116dd7View commit details -
Rollup merge of rust-lang#97663 - RalfJung:keine-halben-sachen, r=oli…
…-obk take back half-baked noaliasing check in Assignment Doing an aliasing check in `copy_op` does not make a ton of sense. We have to eventually do something in the `Assignment` statement handling instead.
Configuration menu - View commit details
-
Copy full SHA for a6d7939 - Browse repository at this point
Copy the full SHA a6d7939View commit details -
Rollup merge of rust-lang#97664 - estebank:suggest-bound-derive-copy,…
… r=compiler-errors On E0204 suggest missing type param bounds ``` error[E0204]: the trait `Copy` may not be implemented for this type --> f42.rs:9:17 | 9 | #[derive(Debug, Copy, Clone)] | ^^^^ 10 | pub struct AABB<K>{ 11 | pub loc: Vector2<K>, | ------------------- this field does not implement `Copy` 12 | pub size: Vector2<K> | -------------------- this field does not implement `Copy` | note: the `Copy` impl for `Vector2<K>` requires that `K: Debug` --> f42.rs:11:5 | 11 | pub loc: Vector2<K>, | ^^^^^^^^^^^^^^^^^^^ note: the `Copy` impl for `Vector2<K>` requires that `K: Debug` --> f42.rs:12:5 | 12 | pub size: Vector2<K> | ^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider restricting type parameter `K` | 10 | pub struct AABB<K: Debug>{ | +++++++ ``` Fix rust-lang#89137.
Configuration menu - View commit details
-
Copy full SHA for b71ddd6 - Browse repository at this point
Copy the full SHA b71ddd6View commit details -
Rollup merge of rust-lang#97668 - notriddle:notriddle/slice-link, r=jsha
rustdoc: clean up primitive.slice.html links Before: <a href="https://doc.rust-lang.org/stable/std/boxed/struct.Box.html">Box</a><<a href="https://doc.rust-lang.org/stable/std/primitive.slice.html">[</a>T<a href="https://doc.rust-lang.org/stable/std/primitive.slice.html">]</a>> After: <a href="https://doc.rust-lang.org/stable/std/boxed/struct.Box.html">Box</a><<a href="https://doc.rust-lang.org/stable/std/primitive.slice.html">[T]</a>>
Configuration menu - View commit details
-
Copy full SHA for d6f35b3 - Browse repository at this point
Copy the full SHA d6f35b3View commit details