diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-17 22:57:25 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-17 22:57:25 +0800 |
| commit | 28b0e4e15e0ffd0c5f747f94dadb7a243566449d (patch) | |
| tree | 1a8e888b37123613b28a106d6ae9a8d85ec2d656 /tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs | |
| parent | c307fd8e3320bbaabd68a5299e6fb89ad703887b (diff) | |
| download | rust-28b0e4e15e0ffd0c5f747f94dadb7a243566449d.tar.gz rust-28b0e4e15e0ffd0c5f747f94dadb7a243566449d.zip | |
Fix applicable on variant field for change_visibility
Enum variant fields do not allow visibility
Example
---
```rust
enum Foo {
Variant($0String),
}
```
**Before this PR**:
```rust
enum Foo {
Variant(pub(crate) String),
}
```
**After this PR**:
Assist not applicable
Diffstat (limited to 'tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs')
0 files changed, 0 insertions, 0 deletions
