File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
crates/rust-analyzer/src/bin Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ needless_doctest_main = "allow"
179
179
new_without_default = " allow"
180
180
non_canonical_clone_impl = " allow"
181
181
non_canonical_partial_ord_impl = " allow"
182
- non_minimal_cfg = " allow"
183
182
only_used_in_recursion = " allow"
184
183
op_ref = " allow"
185
184
option_map_unit_fn = " allow"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use lsp_server::Connection;
17
17
use rust_analyzer:: { cli:: flags, config:: Config , from_json} ;
18
18
use vfs:: AbsPathBuf ;
19
19
20
- #[ cfg( all ( feature = "mimalloc" ) ) ]
20
+ #[ cfg( feature = "mimalloc" ) ]
21
21
#[ global_allocator]
22
22
static ALLOC : mimalloc:: MiMalloc = mimalloc:: MiMalloc ;
23
23
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ unsafe fn analyze_source_file_sse2(
339
339
}
340
340
341
341
#[ target_feature( enable = "neon" ) ]
342
- #[ cfg( any ( target_arch = "aarch64" ) ) ]
342
+ #[ cfg( target_arch = "aarch64" ) ]
343
343
#[ inline]
344
344
// See https://community.arm.com/arm-community-blogs/b/infrastructure-solutions-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon
345
345
//
@@ -354,7 +354,7 @@ unsafe fn move_mask(v: std::arch::aarch64::uint8x16_t) -> u64 {
354
354
}
355
355
356
356
#[ target_feature( enable = "neon" ) ]
357
- #[ cfg( any ( target_arch = "aarch64" ) ) ]
357
+ #[ cfg( target_arch = "aarch64" ) ]
358
358
unsafe fn analyze_source_file_neon (
359
359
src : & str ,
360
360
lines : & mut Vec < TextSize > ,
You can’t perform that action at this time.
0 commit comments