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.
1 parent ad34387 commit 74cb3e9Copy full SHA for 74cb3e9
crates/hir_def/src/nameres/tests/incremental.rs
@@ -38,6 +38,9 @@ fn typing_inside_a_function_should_not_invalidate_def_map() {
38
fn foo() -> i32 {
39
1 + 1
40
}
41
+
42
+ #[cfg(never)]
43
+ fn no() {}
44
//- /foo/mod.rs
45
pub mod bar;
46
@@ -53,6 +56,9 @@ fn typing_inside_a_function_should_not_invalidate_def_map() {
53
56
use E::*;
54
57
55
58
fn foo() -> i32 { 92 }
59
60
61
62
",
63
);
64
0 commit comments