Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-20186.rs
blob: 54d68f100521d1395cf1ff48946d7cdad4066a60 [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
dead_code
)]
#![
allow
(
unused_variables
)]
struct
Foo
;
impl
Foo
{
fn
putc
(&
self
,
b
:
u8
)
{
}
fn
puts
(&
self
,
s
:
&
str
)
{
for
byte in s
.
bytes
()
{
self
.
putc
(
byte
)
}
}
}
fn
main
()
{}