about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-10-04 15:24:01 +0530
committerGitHub <noreply@github.com>2016-10-04 15:24:01 +0530
commit5a4ecb4a0cae6b7a63abb1abb112a15008fcce9c (patch)
treefb9132604367c9dead5fd8e66d85c1bf732a42b6 /src/libstd
parent9c31d76e97c6116ba2480aa23a48f3e7bd25a7cb (diff)
parent99aae9b834604788b58da8eac9156cc3715426e1 (diff)
downloadrust-5a4ecb4a0cae6b7a63abb1abb112a15008fcce9c.tar.gz
rust-5a4ecb4a0cae6b7a63abb1abb112a15008fcce9c.zip
Rollup merge of #36798 - gavinb:fix/36164, r=GuillaumeGomez
Improve error message and snippet for "did you mean `x`"

- Fixes #36164
- Part of #35233

Based on the standalone example https://is.gd/8STXMd posted by @nikomatsakis and using the third formatting option mentioned in #36164 and agreed by @jonathandturner.

Note however this does not address the question of [how to handle an empty or unknown suggestion](https://github.com/rust-lang/rust/issues/36164#issuecomment-244460024). @nikomatsakis any suggestions on how best to address that part?
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions