Skip to content

typeck: check casts from pointers to floats, closes #15445 #15559

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

Merged
merged 1 commit into from
Jul 10, 2014

Conversation

fhahn
Copy link
Contributor

@fhahn fhahn commented Jul 9, 2014

I've added an error message for casts from raw pointers to floats #15445.

@fhahn
Copy link
Contributor Author

fhahn commented Jul 10, 2014

I've updated the commit. It failed because it still used ty_to_str instead of ty_to_string.

bors added a commit that referenced this pull request Jul 10, 2014
I've added an error message for casts from raw pointers to floats #15445.
@bors bors closed this Jul 10, 2014
@bors bors merged commit 9bc7b6f into rust-lang:master Jul 10, 2014
@fhahn fhahn deleted the issue-15445-mut-cast branch July 10, 2014 21:54
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 18, 2023
Implement builtin#format_args, using rustc's format_args parser

`format_args!` now expands to `builtin#format_args(template, args...)`, the actual expansion now instead happens in lowering where we desugar this expression by using lang paths.

As a bonus, we no longer need to evaluate `format_args` as an eager macro which means less macro expansions overall -> less cache thrashing!

Fixes rust-lang/rust-analyzer#15082
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

Successfully merging this pull request may close these issues.

3 participants