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"
179179new_without_default = " allow"
180180non_canonical_clone_impl = " allow"
181181non_canonical_partial_ord_impl = " allow"
182- non_minimal_cfg = " allow"
183182only_used_in_recursion = " allow"
184183op_ref = " allow"
185184option_map_unit_fn = " allow"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use lsp_server::Connection;
1717use rust_analyzer:: { cli:: flags, config:: Config , from_json} ;
1818use vfs:: AbsPathBuf ;
1919
20- #[ cfg( all ( feature = "mimalloc" ) ) ]
20+ #[ cfg( feature = "mimalloc" ) ]
2121#[ global_allocator]
2222static ALLOC : mimalloc:: MiMalloc = mimalloc:: MiMalloc ;
2323
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ unsafe fn analyze_source_file_sse2(
339339}
340340
341341#[ target_feature( enable = "neon" ) ]
342- #[ cfg( any ( target_arch = "aarch64" ) ) ]
342+ #[ cfg( target_arch = "aarch64" ) ]
343343#[ inline]
344344// See https://community.arm.com/arm-community-blogs/b/infrastructure-solutions-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon
345345//
@@ -354,7 +354,7 @@ unsafe fn move_mask(v: std::arch::aarch64::uint8x16_t) -> u64 {
354354}
355355
356356#[ target_feature( enable = "neon" ) ]
357- #[ cfg( any ( target_arch = "aarch64" ) ) ]
357+ #[ cfg( target_arch = "aarch64" ) ]
358358unsafe fn analyze_source_file_neon (
359359 src : & str ,
360360 lines : & mut Vec < TextSize > ,
You can’t perform that action at this time.
0 commit comments