]> git.lizzy.rs Git - rust.git/blobdiff - crates/ide/src/syntax_highlighting/tests.rs
Refactor ide handling for paths in derive inputs
[rust.git] / crates / ide / src / syntax_highlighting / tests.rs
index 850de3908fad845b52d2a9c6cd261fae641b9738..42d34040fafb74c5d02a6e2ce60f11291c38f02a 100644 (file)
@@ -11,19 +11,11 @@ fn test_highlighting() {
     check_highlighting(
         r#"
 //- proc_macros: identity, mirror
+//- minicore: derive, copy
 //- /main.rs crate:main deps:foo
 use inner::{self as inner_mod};
 mod inner {}
 
-#[rustc_builtin_macro]
-macro Copy {}
-
-// Needed for function consuming vs normal
-pub mod marker {
-    #[lang = "copy"]
-    pub trait Copy {}
-}
-
 #[proc_macros::identity]
 pub mod ops {
     #[lang = "fn_once"]