Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
());
}