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

--pretty typed is broken for most programs #1536

Closed
marijnh opened this issue Jan 16, 2012 · 0 comments
Closed

--pretty typed is broken for most programs #1536

marijnh opened this issue Jan 16, 2012 · 0 comments

Comments

@marijnh
Copy link
Contributor

marijnh commented Jan 16, 2012

The code path that resolves/typechecks the crate in driver::pretty_print_input is quite a bit out of sync with the equivalent code in driver::compile_input. It doesn't inject core, and it doesn't resolve external crates.

Probably the solution involves factoring most of compile_input into a function that operators on a crate and takes some arguments that allow callers to determine precisely which stages to run on it.

bjorn3 pushed a commit to bjorn3/rust that referenced this issue Sep 22, 2024
This was forgotten. Without it, ptr_mask just always returns null.
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

1 participant