mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
check rustc major version == 1 not < 1
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
parent
39b8d10b93
commit
14a51d28b5
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl TryFrom<RustCInfo> for ProcMacroABI {
|
|||
type Error = LoadProcMacroDylibError;
|
||||
|
||||
fn try_from(info: RustCInfo) -> Result<Self, Self::Error> {
|
||||
if info.version.0 < 1 {
|
||||
if info.version.0 != 1 {
|
||||
Err(LoadProcMacroDylibError::UnsupportedABI)
|
||||
} else if info.version.1 < 47 {
|
||||
Err(LoadProcMacroDylibError::UnsupportedABI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue