diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-14 00:42:11 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-09-20 20:56:27 +0800 |
| commit | 71fdb598c7d8a2b85d757c361c812b33b7433a10 (patch) | |
| tree | 7bb699ef75bb5660a980ce1d337e44647f9fc7f6 /tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs | |
| parent | e976c9c762e1d19e177e41a9fe2b2a397229f8c4 (diff) | |
| download | rust-71fdb598c7d8a2b85d757c361c812b33b7433a10.tar.gz rust-71fdb598c7d8a2b85d757c361c812b33b7433a10.zip | |
Fix IfExpr then branch suggest
- And add logic operation suggest
Example
---
In the old implementation, it always suggested conditions,
this is a lot of noise, e.g `contract_checks()~(use std::intrinsics::contract_checks) const fn() -> bool`
```rust
fn foo() {
if true {
c$0
}
}
```
Diffstat (limited to 'tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs')
0 files changed, 0 insertions, 0 deletions
