We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My system freezes when I try to compile this https://gist.github.com/SCareAngel/9cb3e50c1734d4179fc4 rustc 1.5.0-nightly (e362679 2015-10-08) ubuntu-15.04
The text was updated successfully, but these errors were encountered:
Code:
macro_rules! foo { ( $e:expr) => { ($e) } } macro_rules! bar { ( < $x:ident > ) => { $x }; ( $x:tt ) => { foo!($x) }; } macro_rules! baz { ( $ ( $( $x:tt )|*)* ) => { { make($n, &[$(&[$(bar!($x) ),*]),*]) } }; } fn main() { let bar = baz!["0","1","2","3","4","5","6","7","8","9"]; }
That's eating memory really really quickly. It's even enough to just say let bar = baz![];, the values aren't required.
let bar = baz![];
Sorry, something went wrong.
Might be related to #24858
It does look like a dupe of #24858, closing. Thanks for filing!
No branches or pull requests
My system freezes when I try to compile this
https://gist.github.com/SCareAngel/9cb3e50c1734d4179fc4
rustc 1.5.0-nightly (e362679 2015-10-08)
ubuntu-15.04
The text was updated successfully, but these errors were encountered: