rust/src/libsyntax/ext
bors af791bb8f4 Auto merge of #55451 - estebank:arg-doc, r=pnkfelix
Custom diagnostic when trying to doc comment argument

When writing

```
pub fn f(
    /// Comment
    id: u8,
) {}
```

Produce a targeted diagnostic

```
error: documentation comments cannot be applied to method arguments
  --> $DIR/fn-arg-doc-comment.rs:2:5
   |
LL |     /// Comment
   |     ^^^^^^^^^^^ doc comments are not allowed here
```

Fix #54801.
2018-11-05 16:36:18 +00:00
..
tt Auto merge of #55451 - estebank:arg-doc, r=pnkfelix 2018-11-05 16:36:18 +00:00
base.rs Point at macro definition when no rules expect token 2018-10-23 21:44:46 -07:00
build.rs Give each PathSegment a NodeId 2018-10-26 09:48:44 +13:00
derive.rs Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. 2018-08-28 17:04:04 +03:00
expand.rs Auto merge of #55451 - estebank:arg-doc, r=pnkfelix 2018-11-05 16:36:18 +00:00
placeholders.rs Remove OneVector 2018-09-26 10:43:37 +02:00
quote.rs Provide specific label for patern parsing error 2018-10-28 14:38:00 -07:00
source_util.rs Remove OneVector 2018-09-26 10:43:37 +02:00