about summary refs log tree commit diff
path: root/src/rustllvm
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-01-19 23:17:48 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-03-10 07:53:08 -0800
commitac2bc7c570eec8a024cec779908c8ae718924e77 (patch)
treede7703442b5dcda24e698257e3f640075f6b3159 /src/rustllvm
parentf573db4f80c75f156df8a743f456bf087ec81dc2 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions