about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-22 14:30:19 +0000
committerGitHub <noreply@github.com>2021-01-22 14:30:19 +0000
commite9b2cf4f6425d760df7e5e0675e8e02da11819f8 (patch)
tree6b19c0d71d317ad420e365c6f0944be80c0262c2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta1b89f07f00bda6d10e341fda01385f571a243b6 (diff)
parent3a5ede6ef4b4ef6ae6c6f2c583d4c6620a95fd30 (diff)
downloadrust-e9b2cf4f6425d760df7e5e0675e8e02da11819f8.tar.gz
rust-e9b2cf4f6425d760df7e5e0675e8e02da11819f8.zip
Rollup merge of #81236 - estebank:everybody-loop-now, r=oli-obk
Gracefully handle loop labels missing leading `'` in different positions

Fix #81192.

* Account for labels when suggesting `loop` instead of `while true`
* Suggest `'a` when given `a` only when appropriate
* Add loop head span to hir
* Tweak error for invalid `break expr`
* Add more misspelled label tests
* Avoid emitting redundant "unused label" lint
* Parse loop labels missing a leading `'`

Each commit can be reviewed in isolation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions