Skip to content

Commit 427ba9d

Browse files
Merge #8534
8534: Remove unneeded annotations from find_path tests r=jonas-schievink a=jonas-schievink Addresses #8532 (comment) bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
2 parents 3af3036 + d073c3e commit 427ba9d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/hir_def/src/find_path.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,6 @@ mod tests {
427427
fn same_module() {
428428
check_found_path(
429429
r#"
430-
//- /main.rs
431430
struct S;
432431
$0
433432
"#,
@@ -442,7 +441,6 @@ $0
442441
fn enum_variant() {
443442
check_found_path(
444443
r#"
445-
//- /main.rs
446444
enum E { A }
447445
$0
448446
"#,
@@ -457,7 +455,6 @@ $0
457455
fn sub_module() {
458456
check_found_path(
459457
r#"
460-
//- /main.rs
461458
mod foo {
462459
pub struct S;
463460
}
@@ -619,7 +616,6 @@ pub mod ast {
619616
fn same_crate_reexport() {
620617
check_found_path(
621618
r#"
622-
//- /main.rs
623619
mod bar {
624620
mod foo { pub(super) struct S; }
625621
pub(crate) use foo::*;
@@ -637,7 +633,6 @@ $0
637633
fn same_crate_reexport_rename() {
638634
check_found_path(
639635
r#"
640-
//- /main.rs
641636
mod bar {
642637
mod foo { pub(super) struct S; }
643638
pub(crate) use foo::S as U;
@@ -874,7 +869,6 @@ pub struct Arc;
874869
#[test]
875870
fn builtins_are_in_scope() {
876871
let code = r#"
877-
//- /main.rs
878872
$0
879873
880874
pub mod primitive {

0 commit comments

Comments
 (0)