mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-13 00:17:15 +00:00
Fix typo in test
This commit is contained in:
parent
499d4c454d
commit
c622551ec2
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ impl HasUnsafeFn {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let x = &5 as *usize;
|
||||
let x = &5 as *const usize;
|
||||
unsafe {
|
||||
unsafe_fn();
|
||||
HasUnsafeFn.unsafe_method();
|
||||
|
|
Loading…
Reference in a new issue