Skip to content

Conversation

pcwalton
Copy link
Contributor

They are still present as part of the borrow check.
For example, `foo::<T>::bar::<U>`.

This doesn't enforce that the type parameters are in the right
positions, however.
…aths.

This removes the stacking of type parameters that occurs when invoking
trait methods, and fixes all places in the standard library that were
relying on it. It is somewhat awkward in places; I think we'll probably
want something like the `Foo::<for T>::new()` syntax.
10% win or so for small crates.
@pcwalton pcwalton closed this Aug 28, 2013
@pcwalton pcwalton deleted the coherence-each-path branch August 28, 2013 05:19
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 7, 2022
Allow raw lint descriptions

update_lints now understands raw strings in declare_clippy_lint descriptions.

Supersedes  rust-lang#8655

cc `@Alexendoo` thanks for addressing this so quickly. I build a little bit simpler version of your patch. I don't think it really matters what `Literal` we're trying to tokenize, since we assume later, that it is some sort of `str`.

changelog: none
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