-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use def span for non-ascii ident feature gate error #46803
Conversation
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
9336b18
to
502d570
Compare
I'm worried this might call |
@arielb1 |
| | ||
= help: add #![feature(non_ascii_idents)] to the crate attributes to enable | ||
|
||
error: non-ascii idents are not fully supported. (see issue #28979) | ||
--> $DIR/feature-gate-non_ascii_idents.rs:34:5 | ||
| | ||
34 | / Bäz { //~ ERROR non-ascii idents | ||
35 | | qüx: isize //~ ERROR non-ascii idents |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why doesn't this line give an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. It wasn't already, would have to check.
@bjorn3 that error is being emitted further down, it's just hidden in the diff because it didn't change in this PR :)
@bors r+ |
📌 Commit 502d570 has been approved by |
Use def span for non-ascii ident feature gate error
☀️ Test successful - status-appveyor, status-travis |
No description provided.