We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[feature(macro_rules)]; macro_rules! mymacro( ($x:ident) => ( "foo" ); ) fn main() { println(mymacro!()); }
$ rustc --version rustc 0.9-pre (a7453ad 2013-10-22 15:31:26 -0700) host: x86_64-unknown-linux-gnu $ rustc foo.rs foo.rs:1:0: 1:0 error: Unexpected end of macro invocation foo.rs:1 #[feature(macro_rules)]; ^
The error is the missing argument to the mymacro!() invocation. The error caret should point there, not to the first line in the crate.
mymacro!()
The text was updated successfully, but these errors were encountered:
Dupe of #7970.
Sorry, something went wrong.
Auto merge of rust-lang#10106 - koka831:fix/10084, r=Alexendoo
a9c251f
Fix FP in `unnecessary_safety_comment` Fix rust-lang/rust-clippy#10084 changelog: FP: [`unnecessary_safety_comment`]: No longer lints code inside macros [rust-lang#10106](rust-lang/rust-clippy#10106) <!-- changelog_checked -->
No branches or pull requests
The error is the missing argument to the
mymacro!()
invocation. The error caret should point there, not to the first line in the crate.The text was updated successfully, but these errors were encountered: