Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
rfc-2632-const-trait-impl
/
specialization
/
default-keyword.rs
blob: 2aac0a2b4d11183d4b6dca6bd9b0df37b4c92204 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
const_trait_impl
)]
#![
feature
(
min_specialization
)]
#[
const_trait
]
trait
Foo
{
fn
foo
();
}
impl
const
Foo
for
u32
{
default
fn
foo
()
{}
}
fn
main
()
{}