-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
pub_restricted field warning spans include close-paren #35435
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
There's most like some code that is still assuming that privacy modifiers are a single token. |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Aug 13, 2016
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Aug 13, 2016
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
eddyb
added a commit
to eddyb/rust
that referenced
this issue
Aug 14, 2016
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
eddyb
added a commit
to eddyb/rust
that referenced
this issue
Aug 14, 2016
…matsakis Correct span for pub_restricted field Fix rust-lang#35435.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Warnings on pub_restricted fields produce odd spans including the close-paren:
src/lib.rs
src/foo.rs
cargo build
rustc --version
The text was updated successfully, but these errors were encountered: