]> git.lizzy.rs Git - rust.git/commit
Auto merge of #34251 - zackmdavis:forbidden_on_whose_authority, r=Manishearth
authorbors <bors@rust-lang.org>
Sun, 31 Jul 2016 15:50:46 +0000 (08:50 -0700)
committerGitHub <noreply@github.com>
Sun, 31 Jul 2016 15:50:46 +0000 (08:50 -0700)
commit379ac50809d1ab3616ce9070b36c719076ff2cfd
tree8909064a37ea4b7aab154cc84759b2b7909f8ac4
parent5556554e2504ba2df8712ad0666ce1a11915dade
parent661b4f09fb8d765292521f618bcb8d79da544154
Auto merge of #34251 - zackmdavis:forbidden_on_whose_authority, r=Manishearth

diagnostically note source of overruling outer forbid

When we emit E0453 (lint level attribute overruled by outer `forbid`
lint level), it could be helpful to note where the `forbid` level was
set, for the convenience of users who, e.g., believe that the correct
fix is to weaken the `forbid` to `deny`.

![forbidden_on_whose_authority](https://cloud.githubusercontent.com/assets/1076988/15995312/2d847376-30ce-11e6-865e-b68cfebc0291.png)