about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <9744647+flip1995@users.noreply.github.com>2018-09-17 11:20:27 +0200
committerflip1995 <9744647+flip1995@users.noreply.github.com>2018-09-17 11:20:27 +0200
commita8b681cc2c5b3bedf3474bdf579339f4f1249d23 (patch)
tree6bec2416ee4a8c92e77299bf9d5567444ac388e7
parentd366710a0157279a6d11c56a8d22c252072bd4f0 (diff)
downloadrust-a8b681cc2c5b3bedf3474bdf579339f4f1249d23.tar.gz
rust-a8b681cc2c5b3bedf3474bdf579339f4f1249d23.zip
Fix c_void path
This got changed in rust-lang/rust#53910
-rw-r--r--clippy_lints/src/utils/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/paths.rs b/clippy_lints/src/utils/paths.rs
index 0dea0462d89..ff67d381ae7 100644
--- a/clippy_lints/src/utils/paths.rs
+++ b/clippy_lints/src/utils/paths.rs
@@ -18,7 +18,7 @@ pub const CMP_MAX: [&str; 3] = ["core", "cmp", "max"];
 pub const CMP_MIN: [&str; 3] = ["core", "cmp", "min"];
 pub const COW: [&str; 3] = ["alloc", "borrow", "Cow"];
 pub const CSTRING_NEW: [&str; 5] = ["std", "ffi", "c_str", "CString", "new"];
-pub const C_VOID: [&str; 4] = ["std", "os", "raw", "c_void"];
+pub const C_VOID: [&str; 3] = ["core", "ffi", "c_void"];
 pub const C_VOID_LIBC: [&str; 2] = ["libc", "c_void"];
 pub const DEFAULT_TRAIT: [&str; 3] = ["core", "default", "Default"];
 pub const DEFAULT_TRAIT_METHOD: [&str; 4] = ["core", "default", "Default", "default"];