Skip to content

How to ignore some path for auto-import #20468

@A4-Tacks

Description

@A4-Tacks
use core::convert::identity;

fn main() {
    identity(i$0)
}

Output completions:

identity(…)~ const fn(T) -> T           f [LS]
i8 i8                                   S [LS]
if~                                     k [LS]
i16 i16                                 S [LS]
i32 i32                                 S [LS]
i64 i64                                 S [LS]
i128 i128                               S [LS]
isize isize                             S [LS]
if let~                                 k [LS]
include                                 r [LS]
include_str                             r [LS]
include_bytes                           r [LS]
io(use std::os::unix::io)               M [LS]
id()~(use std::process::id) fn() -> u32 f [LS]
i16(use core::i16)                      M [LS]
i64(use core::i64)                      M [LS]
i8x2(use core::simd::i8x2)              S [LS]
isize(use core::isize)                  M [LS]
i16x1(use core::simd::i16x1)            S [LS]
i16x2(use core::simd::i16x2)            S [LS]
i16x8(use core::simd::i16x8)            S [LS]
i32x1(use core::simd::i32x1)            S [LS]
i32x8(use core::simd::i32x8)            S [LS]
i64x1(use core::simd::i64x1)            S [LS]
i64x4(use core::simd::i64x4)            S [LS]
i64x8(use core::simd::i64x8)            S [LS]
i8x16(use core::simd::i8x16)            S [LS]

How can I make auto-import ignore paths prefixed with core::simd in the config file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions