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
<anon>:6:35: 6:38 error: the trait `core::fmt::Debug` is not implemented for the type `extern "C" fn()` [E0277]
<anon>:6 print!("{:?} {:?} {:?} {:?}", ext, foo, f, main);
^~~
<anon>:6:40: 6:43 error: the trait `core::fmt::Debug` is not implemented for the type `extern "C" fn() {foo}` [E0277]
<anon>:6 print!("{:?} {:?} {:?} {:?}", ext, foo, f, main);
^~~
<anon>:6:45: 6:46 error: the trait `core::fmt::Debug` is not implemented for the type `fn()` [E0277]
<anon>:6 print!("{:?} {:?} {:?} {:?}", ext, foo, f, main);
^
<anon>:6:48: 6:52 error: the trait `core::fmt::Debug` is not implemented for the type `fn() {main}` [E0277]
<anon>:6 print!("{:?} {:?} {:?} {:?}", ext, foo, f, main);
^~~~
While it might be possible to explain away the last three errors, the first one makes it impossible to derive Debug for structs that contain C callbacks.
The text was updated successfully, but these errors were encountered:
While it might be possible to explain away the last three errors, the first one makes it impossible to derive
Debug
for structs that contain C callbacks.The text was updated successfully, but these errors were encountered: