Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
parser
/
public-instead-of-pub-2.rs
blob: 8a43c361e0510d85efd735a4503250e20c84d536 [
file
] [
log
] [
blame
]
// Checks what happens when `public` is used instead of the correct, `pub`
// Won't give help message for this case
public
let
x
=
1
;
//~^ ERROR expected one of `!` or `::`, found keyword `let`
fn
main
()
{
}