Skip to content
New issue

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

Compiling println!(indoc!(...)) hangs forever #17

Closed
brennie opened this issue Mar 7, 2018 · 2 comments
Closed

Compiling println!(indoc!(...)) hangs forever #17

brennie opened this issue Mar 7, 2018 · 2 comments

Comments

@brennie
Copy link

brennie commented Mar 7, 2018

The following never finishes compiling:

#[macro_use]
extern crate indoc;

fn main() {
    println!(indoc!("
        Help I don't compile
    "));
}
@dtolnay
Copy link
Owner

dtolnay commented Mar 7, 2018

Thanks! This was previously reported in #12. As far as I know there is no way for this to work on the stable compiler. You can switch to the "unstable" feature of indoc, or use runtime-fmt with stable indoc, or give up on indoc.

@brennie
Copy link
Author

brennie commented Mar 7, 2018

Alright, thanks for the heads up. indoc is great btw :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants