Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
deprecation
/
derive_on_deprecated_forbidden.rs
blob: 3fd434664675628768f4cf3243899909571076b7 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
forbid
(
deprecated
)]
#[
deprecated
=
"oh no"
]
#[
derive
(
Default
)]
struct
X
;
fn
main
()
{}