aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_ty/src')
-rw-r--r--crates/ra_hir_ty/src/tests.rs2
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() {
584struct HasUnsafe; 584struct HasUnsafe;
585 585
586impl HasUnsafe { 586impl 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 }