fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `()` cannot be safely transmuted into `W<'_>` in the defining scope of `Context` 2 --> $DIR/region-infer.rs:20:5 3 | 4LL | test(); 5 | ^^^^ The size of `()` is smaller than the size of `W<'_>` 6 | 7note: required by a bound in `test` 8 --> $DIR/region-infer.rs:11:12 9 | 10LL | fn test<'a>() 11 | ---- required by a bound in this function 12LL | where 13LL | W<'a>: BikeshedIntrinsicFrom< 14 | ____________^ 15LL | | (), 16LL | | Context, 17LL | | { Assume { alignment: true, lifetimes: true, safety: true, validity: true } }, 18LL | | >, 19 | |_________^ required by this bound in `test` 20 21error: aborting due to previous error 22 23For more information about this error, try `rustc --explain E0277`.