Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-7575.rs
blob: ac69f2b1c80b64afdb5c917bad5d9a17718f6a94 [
file
] [
log
] [
blame
]
// run-pass
trait
Foo
{
fn
new
()
->
bool
{
false
}
fn
dummy
(&
self
)
{
}
}
trait
Bar
{
fn
new
(&
self
)
->
bool
{
true
}
}
impl
Bar
for
isize
{}
impl
Foo
for
isize
{}
fn
main
()
{
assert
!(
1.new
());
}