mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 14:01:55 +04:00
helix-lsp-types: use bitflags::bitflags
rather than extern crate
This seems to be a historical artifact in `lsp_types` - we can use a regular `use` statement to pull in the `bitflags!` macro rather than an external crate definition. This fixes rust-analyzer's ability to find the macro at least on rust-analyzer 2024-02-26.
This commit is contained in:
parent
1980bd5992
commit
6eb186eb7b
@ -16,8 +16,8 @@
|
||||
*/
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![forbid(unsafe_code)]
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
||||
use bitflags::bitflags;
|
||||
|
||||
use std::{collections::HashMap, fmt::Debug};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user