mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
change import for rust analyzer
This commit is contained in:
parent
a1dc13b352
commit
cf80f510cb
2 changed files with 3 additions and 3 deletions
1
cli_utils/Cargo.lock
generated
1
cli_utils/Cargo.lock
generated
|
@ -2679,6 +2679,7 @@ dependencies = [
|
||||||
"roc_collections",
|
"roc_collections",
|
||||||
"roc_module",
|
"roc_module",
|
||||||
"roc_mono",
|
"roc_mono",
|
||||||
|
"roc_reporting",
|
||||||
"roc_std",
|
"roc_std",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,8 @@ use roc_module::ident::{Lowercase, TagName};
|
||||||
use roc_module::symbol::{ModuleId, Symbol};
|
use roc_module::symbol::{ModuleId, Symbol};
|
||||||
use roc_region::all::{Located, Region};
|
use roc_region::all::{Located, Region};
|
||||||
use roc_types::subs::Variable;
|
use roc_types::subs::Variable;
|
||||||
use roc_types::types::AnnotationSource::{self, *};
|
|
||||||
use roc_types::types::Type::{self, *};
|
use roc_types::types::Type::{self, *};
|
||||||
use roc_types::types::{Category, PReason, Reason, RecordField};
|
use roc_types::types::{AnnotationSource, Category, PReason, Reason, RecordField};
|
||||||
|
|
||||||
/// This is for constraining Defs
|
/// This is for constraining Defs
|
||||||
#[derive(Default, Debug)]
|
#[derive(Default, Debug)]
|
||||||
|
@ -604,7 +603,7 @@ pub fn constrain_expr(
|
||||||
FromAnnotation(
|
FromAnnotation(
|
||||||
name.clone(),
|
name.clone(),
|
||||||
*arity,
|
*arity,
|
||||||
TypedWhenBranch {
|
AnnotationSource::TypedWhenBranch {
|
||||||
index: Index::zero_based(index),
|
index: Index::zero_based(index),
|
||||||
region: ann_source.region(),
|
region: ann_source.region(),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue