Sign in
fuchsia
/
third_party
/
rust
/
e3029abfaec4252ab0ae7010780be0094d8870e0
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
specialization
/
default-keyword.rs
blob: d9ffd237dcefd65fab3cc34703bd26a5bde28126 [
file
] [
log
] [
blame
]
//@ known-bug: #110395
// FIXME 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
()
{}