You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In `transmute!`, support an `#![allow(shrink)]` attribute which is
invoked as follows:
transmute!(#![allow(shrink)] src);
When this attribute is provided, `transmute!` will permit shrinking
transmutes, in which the destination value may be smaller than the
source value.
gherrit-pr-id: I46b18b4b1d10507b7e1d2e01b09dc4960cfcdce1
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsFromBytes`
26
-
= note: this error originates in the macro `$crate::transmute` which comes from the expansion of the macro `include_value` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::__transmute_inner` which comes from the expansion of the macro `include_value` (in Nightly builds, run with -Z macro-backtrace for more info)
| ^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsFromBytes`
26
-
= note: this error originates in the macro `transmute` (in Nightly builds, run with -Z macro-backtrace for more info)
22
+
| ^^^^^^^^^^^^^^^^^^^
23
+
| |
24
+
| required by a bound in this function
25
+
| required by this bound in `transmute`
26
+
= note: this error originates in the macro `$crate::__transmute_inner` which comes from the expansion of the macro `transmute` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments