diff options
author | Paul Daniel Faria <[email protected]> | 2020-05-24 20:31:33 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-27 15:09:42 +0100 |
commit | 3df0f9ce7e6eea48b67dae8b26e83aa7bd36ff24 (patch) | |
tree | f6e5dad146908ea283ae7da50c65a17b590c4e59 /crates/ra_hir_ty/src | |
parent | c622551ec27c9d68e8310c2408317253952b6f44 (diff) |
Add missing self param to test
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 | } |