blob: 8a43c361e0510d85efd735a4503250e20c84d536 (
plain)
1
2
3
4
5
6
7
|
// 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() { }
|