Skip to content

ICE "Could not find scope info for node" building Servo with -Z debug-info #8670

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

Closed
kmcallister opened this issue Aug 21, 2013 · 5 comments
Closed
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.)

Comments

@kmcallister
Copy link
Contributor

src/components/gfx/text/text_run.rs:151:26: 151:32 error: internal compiler error: debuginfo: Could not find scope info for node node_expr(@{id: 14430, node: expr_lit(@{node: lit_int(9, ty_char), span: {lo: {__field__: 151159}, hi: {__field__: 151163}, expn_info: None}}), span: {lo: {__field__: 151159}, hi: {__field__: 151165}, expn_info: None}})
src/components/gfx/text/text_run.rs:151                     ' ' | '\t' | '\n' => false,
                                                                  ^~~~~~

make: *** [/home/keegan/proj/servo/servo/build/src/components/gfx/libgfx.dummy] Error 101

Rust version is 6791021

@jdm
Copy link
Contributor

jdm commented Aug 21, 2013

@michaelwoerister

@jdm
Copy link
Contributor

jdm commented Aug 21, 2013

This is probably caused by the shortcut for multi-branch arms that only looks at the first one, since all variable bindings are shared.

@michaelwoerister
Copy link
Member

I know about this bug and it has already been fixed (michaelwoerister@78ed2f8#L1R1882) but the fix is not merged yet.

@kmcallister
Copy link
Contributor Author

Okay, cool! I am looking forward to having working debug info for Servo, as we have a few new crashes to track down :/

@michaelwoerister
Copy link
Member

I'll prepare a PR with the fix first thing tomorrow :)

@bors bors closed this as completed in f8c4f0e Aug 23, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 21, 2022
`pub_use` restriction

[`pub_use`]

Fixes rust-lang/rust-clippy#8545

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints

changelog: Adds a lint called `pub_use` that restricts the usage of `pub use ...`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants