☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
min_specialization1.rs
☽
☼
gcc/testsuite/rust/compile/min_specialization1.rs
code
plain
raw
1
#![feature(min_specialization)]
2
3
pub trait Foo {
4
fn foo(&self) -> bool {
5
false
6
}
7
}
8
9
pub struct Bar;
10
11
impl Foo for Bar {
12
default fn foo(&self) -> bool { // { dg-warning "unused" }
13
true
14
}
15
}