Sign in
fuchsia
/
fuchsia
/
eb37f944b46a
/
.
/
third_party
/
rust_crates
/
vendor
/
derivative
/
tests
/
compile-fail
/
derive-debug.rs
blob: 82822a85300aa69e7079dee103760bf38a4e5f6c [
file
] [
log
] [
blame
]
#[
cfg
(
feature
=
"use_core"
)]
extern
crate core
;
#[
macro_use
]
extern
crate derivative
;
#[
derive
(
Derivative
)]
#[
derivative
(
Debug
)]
struct
Foo
<
T
,
U
>
{
foo
:
T
,
#[
derivative
(
Debug
(
format_with
=
"std::fmt::Debug::fmt"
))]
bar
:
U
,
}
fn
main
()
{}