• B
    auto merge of #13079 : alexcrichton/rust/colons, r=cmr · c329a174
    bors 提交于
    The previous syntax was `Foo:Bound<trait-parameters>`, but this is a little
    ambiguous because it was being parsed as `Foo: (Bound<trait-parameters)` rather
    than `Foo: (Bound) <trait-parameters>`
    
    This commit changes the syntax to `Foo<trait-parameters>: Bound` in order to be
    clear where the trait parameters are going.
    
    Closes #9265
    c329a174
pprust.rs 86.7 KB