Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
const_derives
/
derive-const-non-const-type.rs
blob: ce39045d71b38fd3eced958242c7d5ab5e8a295e [
file
] [
log
] [
blame
]
// known-bug: #110395
#![
feature
(
derive_const
,
effects
)]
pub
struct
A
;
impl
Default
for
A
{
fn
default
()
->
A
{
A
}
}
#[
derive_const
(
Default
)]
pub
struct
S
(
A
);
fn
main
()
{}