IDEA shows error hint: Request<HelloRequest> doesn't implement Debug (required by {:?}). However, the struct tonic::Request and HelloRequest (generated by code) has implemented trait Debug. // ::prost::Message pub trait Message: Debug + Send + Sync {...} And these codes can pass ...
I don't know what is the best way to teach Miri about the entry points for headless systems. I don't think we want to implement support for each and every "program entry point" convention in Miri... but wecouldestablish some suitable convention and make thecortex_m_rt::entrymacro emit...
error[E0382]: use of moved value: `light` --> crates/day-9/structs/src/main.rs:4:18 | 2 | let light = TrafficLight::new(); | --- move occurs because `light` has type `TrafficLight`, which does not implement the `Copy` trait 3 | println!("{}", light.get_state()); | ...
There are definitely use cases where dmb and dsb are required for correctness but it doesn't matter if it's a function call, for example interoperating with a DMA on a shared memory region. I wouldn't want to remove them from the API. I'm less certain about uses for isb() that don...
LL | fn foo<F, T>(_: F) where F: Fn() -> T {} | +++ ~ error[E0740]: field must implement `Copy` or be wrapped in `ManuallyDrop<...>` to be used in a union --> $DIR/bad-assoc-ty.rs:73:5 | Expand All @@ -339,6 +328,17 @@ help: wrap the field type in `...
Closes #79 Allows these structs to be printed, useful for supposedly the log4rs crate which requires this to be implemented on AndroidLogger.