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

Rustdoc: Structs and Traits have lost their color #17131

Closed
bluss opened this issue Sep 9, 2014 · 1 comment · Fixed by #17226
Closed

Rustdoc: Structs and Traits have lost their color #17131

bluss opened this issue Sep 9, 2014 · 1 comment · Fixed by #17226

Comments

@bluss
Copy link
Member

bluss commented Sep 9, 2014

Regression from PR #16909

See http://doc.rust-lang.org/std/vec/index.html Vec and MoveItems should be red-ish and traits used to be orange.

@mdinger
Copy link
Contributor

mdinger commented Sep 9, 2014

#15307 is also related to coloring issues

lnicola pushed a commit to lnicola/rust that referenced this issue Apr 24, 2024
different error code of "no such field" error based on variant type

fix rust-lang#17107

Pass variant information down to diagnostic, so that we can get different error code based on variant type.

After fix:

- structure

  <img width="868" alt="Screenshot 2024-04-23 at 21 03 27" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/c2d1e389-5b62-4e9a-a133-9ae41f80615f">

- enum's structure variant

  <img width="937" alt="Screenshot 2024-04-23 at 21 04 41" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/ad8558a7-d809-4968-b290-2f6bbb8d6b8c">
RalfJung pushed a commit to RalfJung/rust that referenced this issue Apr 27, 2024
different error code of "no such field" error based on variant type

fix rust-lang#17107

Pass variant information down to diagnostic, so that we can get different error code based on variant type.

After fix:

- structure

  <img width="868" alt="Screenshot 2024-04-23 at 21 03 27" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/c2d1e389-5b62-4e9a-a133-9ae41f80615f">

- enum's structure variant

  <img width="937" alt="Screenshot 2024-04-23 at 21 04 41" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/ad8558a7-d809-4968-b290-2f6bbb8d6b8c">
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 a pull request may close this issue.

2 participants