aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src
diff options
context:
space:
mode:
authorPaul Daniel Faria <[email protected]>2020-05-24 20:31:33 +0100
committerPaul Daniel Faria <[email protected]>2020-06-27 15:09:42 +0100
commit3df0f9ce7e6eea48b67dae8b26e83aa7bd36ff24 (patch)
treef6e5dad146908ea283ae7da50c65a17b590c4e59 /crates/ra_hir_ty/src
parentc622551ec27c9d68e8310c2408317253952b6f44 (diff)
Add missing self param to test
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 }