diff options
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r-- | crates/ra_hir_ty/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/tests.rs b/crates/ra_hir_ty/src/tests.rs index 28faccf38..8889fa3ba 100644 --- a/crates/ra_hir_ty/src/tests.rs +++ b/crates/ra_hir_ty/src/tests.rs | |||
@@ -584,7 +584,7 @@ fn missing_unsafe_diagnostic_with_unsafe_method_call() { | |||
584 | struct HasUnsafe; | 584 | struct HasUnsafe; |
585 | 585 | ||
586 | impl HasUnsafe { | 586 | impl HasUnsafe { |
587 | unsafe fn unsafe_fn() { | 587 | unsafe fn unsafe_fn(&self) { |
588 | let x = &5 as *const usize; | 588 | let x = &5 as *const usize; |
589 | let y = *x; | 589 | let y = *x; |
590 | } | 590 | } |