-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE - Unprintable span #32697
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
Comments
Smaller reproduction - https://gist.github.com/thepowersgang/fc6170c10aa11347104ce54cafb124d0, Doesn't appear on playpen so is likely related to the multiple-file structure |
Fully reduced to under 30 lines. The error appears when the macro invocation is in a different file to the definition.
When the invocation is moved into |
Some older unprintable spans @ #31719. Doesn't seem very related though. |
Just ran into something similar. This may be related (may not, but involves some macro use as in the first). Here is the simplified test case in this example. https://gist.github.com/tiehuis/2000a3e1a3e2cfdd031208863b75f9f5 This generates an error on a single file which appears slightly different to the previous example. Fails on the playpen nightly branch.
And the error in question:
|
No longer ICEs.
|
Encountered using heavy-duty macro abuse and reproduced on current nightly.
https://travis-ci.org/thepowersgang/rust_os/builds/120407504#L340
Code being built:
https://github.com/thepowersgang/rust_os/blob/20160403_ice_unprintable/Usermode/libsyscalls/
(Sorry for the lacklustre report, I will attempt to reduce to a testcase in a few hours)
The text was updated successfully, but these errors were encountered: