We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
needless_doctest_main
1 parent 3365e50 commit a3e60e7Copy full SHA for a3e60e7
Cargo.toml
@@ -170,7 +170,6 @@ useless_asref = "allow"
170
## Following lints should be tackled at some point
171
borrowed_box = "allow"
172
derived_hash_with_manual_eq = "allow"
173
-needless_doctest_main = "allow"
174
too_many_arguments = "allow"
175
type_complexity = "allow"
176
wrong_self_convention = "allow"
crates/ide/src/inlay_hints/implicit_drop.rs
@@ -1,10 +1,8 @@
1
//! Implementation of "implicit drop" inlay hints:
2
-//! ```no_run
3
-//! fn main() {
4
-//! let x = vec![2];
5
-//! if some_condition() {
6
-//! /* drop(x) */return;
7
-//! }
+//! ```ignore
+//! let x = vec![2];
+//! if some_condition() {
+//! /* drop(x) */return;
8
//! }
9
//! ```
10
use hir::{
0 commit comments