Skip to content

Conversation

@SimonSapin
Copy link
Contributor

… and color (raw) strings as such in attributes. This fixes cases where a string contains ] inside an attribute: that ] used to incorrectly end the attribute coloring.

For large (many lines) doc comments, I’ve found preferable to use #![doc = r#"..."#] to avoid prefixing every line with //!.

… and color (raw) strings as such in attributes.
This fixes cases where a string contains ] inside an attribute:
that ] used to incorrectly end the attribute coloring.

For large (many lines) doc comments, I’ve found preferable to use
`#![doc = r#"..."#]` to avoid prefixing every line with `//!`.
@SimonSapin SimonSapin deleted the gedit-raw-strings branch July 30, 2014 08:10
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 8, 2024
fix: try obligation of `IndexMut` when infer

Closes rust-lang#15842.

This issue arises because `K` is ambiguous if only inferred from `Index` trait, but is unique if inferred from `IndexMut`, but r-a doesn't use this info.
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.

2 participants