diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-01-19 23:17:48 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-03-10 07:53:08 -0800 |
| commit | ac2bc7c570eec8a024cec779908c8ae718924e77 (patch) | |
| tree | de7703442b5dcda24e698257e3f640075f6b3159 /src/rustllvm/RustWrapper.cpp | |
| parent | f573db4f80c75f156df8a743f456bf087ec81dc2 (diff) | |
| download | rust-ac2bc7c570eec8a024cec779908c8ae718924e77.tar.gz rust-ac2bc7c570eec8a024cec779908c8ae718924e77.zip | |
Point to enclosing block/fn on nested unsafe
When declaring nested unsafe blocks (`unsafe {unsafe {}}`) that trigger
the "unnecessary `unsafe` block" error, point out the enclosing `unsafe
block` or `unsafe fn` that makes it unnecessary.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
