2020-12-22 00:37:49 +00:00
|
|
|
---
|
|
|
|
name: Bug Report (False Positive)
|
|
|
|
about: Create a bug report about a wrongly emitted lint warning
|
2021-02-13 15:45:34 +00:00
|
|
|
labels: C-bug, I-false-positive
|
2020-12-22 00:37:49 +00:00
|
|
|
---
|
|
|
|
<!--
|
|
|
|
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
|
|
|
|
along with any information you feel relevant to replicating the bug.
|
|
|
|
-->
|
|
|
|
Lint name:
|
|
|
|
|
|
|
|
|
|
|
|
I tried this code:
|
|
|
|
|
|
|
|
```rust
|
|
|
|
<code>
|
|
|
|
```
|
|
|
|
|
|
|
|
I expected to see this happen: *explanation*
|
|
|
|
|
|
|
|
Instead, this happened: *explanation*
|
|
|
|
|
|
|
|
### Meta
|
|
|
|
|
2021-08-25 14:25:01 +00:00
|
|
|
**Rust version (`rustc -Vv`):**
|
|
|
|
```
|
|
|
|
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
|
|
|
|
binary: rustc
|
|
|
|
commit-hash: f455e46eae1a227d735091091144601b467e1565
|
|
|
|
commit-date: 2020-06-20
|
|
|
|
host: x86_64-unknown-linux-gnu
|
|
|
|
release: 1.46.0-nightly
|
|
|
|
LLVM version: 10.0
|
|
|
|
```
|
|
|
|
|
|
|
|
<!--
|
2021-09-03 10:12:16 +00:00
|
|
|
Additional labels can be added to this issue by including the following command
|
|
|
|
(without the space after the @ symbol):
|
2021-08-25 14:25:01 +00:00
|
|
|
|
2021-09-14 13:49:43 +00:00
|
|
|
@ rustbot label +<label>
|
2021-08-25 14:25:01 +00:00
|
|
|
|
|
|
|
Common labels for this issue type are:
|
|
|
|
* I-suggestion-causes-error
|
|
|
|
-->
|