mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Do not report missing unsafe on addr_of[_mut]!(EXTERN_OR_MUT_STATIC)
The compiler no longer does as well; see https://github.com/rust-lang/rust/pull/125834.
This commit is contained in:
parent
3d21d5e614
commit
91f2016ee1
4 changed files with 51 additions and 6 deletions
|
@ -483,8 +483,8 @@ fn main() {
|
|||
file_id: FileId(
|
||||
1,
|
||||
),
|
||||
full_range: 632..867,
|
||||
focus_range: 693..699,
|
||||
full_range: 633..868,
|
||||
focus_range: 694..700,
|
||||
name: "FnOnce",
|
||||
kind: Trait,
|
||||
container_name: "function",
|
||||
|
@ -8479,8 +8479,8 @@ impl Iterator for S {
|
|||
file_id: FileId(
|
||||
1,
|
||||
),
|
||||
full_range: 7801..8043,
|
||||
focus_range: 7866..7872,
|
||||
full_range: 7802..8044,
|
||||
focus_range: 7867..7873,
|
||||
name: "Future",
|
||||
kind: Trait,
|
||||
container_name: "future",
|
||||
|
@ -8493,8 +8493,8 @@ impl Iterator for S {
|
|||
file_id: FileId(
|
||||
1,
|
||||
),
|
||||
full_range: 8673..9172,
|
||||
focus_range: 8750..8758,
|
||||
full_range: 8674..9173,
|
||||
focus_range: 8751..8759,
|
||||
name: "Iterator",
|
||||
kind: Trait,
|
||||
container_name: "iterator",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue