about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-06 08:08:05 +0000
committerbors <bors@rust-lang.org>2020-12-06 08:08:05 +0000
commita68864b68859e5848865bd392ce6d892b16f5cdd (patch)
treef1c402a267a47395f96161250da02124d1ebf4bf /compiler/rustc_mir/src/transform/coverage/graph.rs
parent5957f208a5def92a5ee85e71b01f75904c1ba4ff (diff)
parent6845e22bbabce5631c388c52eb367168ce9b14ce (diff)
downloadrust-a68864b68859e5848865bd392ce6d892b16f5cdd.tar.gz
rust-a68864b68859e5848865bd392ce6d892b16f5cdd.zip
Auto merge of #79734 - ethanboxx:inferred_const_note, r=varkor
Const parameters can not be inferred with `_` help note

This should close: #79557

# Example output
```
error[E0747]: type provided when a constant was expected
 --> inferred_const_note.rs:6:19
  |
6 |     let a = foo::<_, 2>([0, 1, 2]);
  |                   ^
  |
  = help: Const parameters can not be inferred with `_`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0747`.
```

r? `@lcnr`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions