about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-09-08 14:10:51 +0200
committerGitHub <noreply@github.com>2023-09-08 14:10:51 +0200
commite3b61225307dc0e2fea088fe8a7678849074d1f4 (patch)
tree08947edf7eae23de96605a269c4070e85b72b09a /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent1fb672c7387fc597c93d0657c4892d254d7ab338 (diff)
parent14e59bb317c3c901bce83deb16ee9bfa5cc90e28 (diff)
downloadrust-e3b61225307dc0e2fea088fe8a7678849074d1f4.tar.gz
rust-e3b61225307dc0e2fea088fe8a7678849074d1f4.zip
Rollup merge of #115633 - compiler-errors:PRIVATE_BOUNDS-lint-node, r=petrochenkov
Lint node for `PRIVATE_BOUNDS`/`PRIVATE_INTERFACES` is the item which names the private type

The HIR that the `PRIVATE_BOUNDS` lint should be attached to is the item that has the *bounds*, not the private type. This PR also aligns this behavior with the `EXPORTED_PRIVATE_DEPENDENCIES` lint, which also requires putting the `allow` on the item that names the private type.

Fixes #115475

r? petrochenkov
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions