Open
Description
#![feature(extern_types)]
#![warn(missing_debug_implementations)]
pub enum Foo {}
extern "C" {
pub type Bar;
}
Foo
gets a warning, but Bar
doesn't:
warning: type does not implement `fmt::Debug`; consider adding #[derive(Debug)] or a manual implementation
--> foo.rs:5:1
|
5 | pub enum Foo {}
| ^^^^^^^^^^^^^^^
|
note: lint level defined here
--> foo.rs:3:9
|
3 | #![warn(missing_debug_implementations)]
|