Sign in
rust
/
rust-clippy
/
3415a18febb8d8afe6de9f462fee953e979a88a9
/
.
/
tests
/
compile-fail
/
item_after_statement.rs
blob: f104081faa9942b17e32c0e4b6978476b7050de7 [
file
] [
log
] [
blame
]
#![
feature
(
plugin
)]
#![
plugin
(
clippy
)]
#![
deny
(
items_after_statements
)]
fn
main
()
{
foo
();
fn
foo
()
{
println
!(
"foo"
);
}
//~ ERROR adding items after statements is confusing
foo
();
}