mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
Added cov mark
This commit is contained in:
parent
a79b54ef73
commit
999217374f
@ -482,6 +482,7 @@ impl DefCollector<'_> {
|
||||
|
||||
if let Some(ModuleDefId::ModuleId(m)) = res.take_types() {
|
||||
if m == self.def_map.module_id(current_module_id) {
|
||||
cov_mark::hit!(ignore_macro_use_extern_crate_self);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -411,7 +411,8 @@ struct Arc;
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn extern_crate_self() {
|
||||
fn macro_use_extern_crate_self() {
|
||||
cov_mark::check!(ignore_macro_use_extern_crate_self);
|
||||
check(
|
||||
r#"
|
||||
//- /main.rs crate:main
|
||||
|
Loading…
Reference in New Issue
Block a user