id
string | file_path
string | line
uint32 | column
uint32 | phase
string | processing_order
uint32 | element_type
string | element_name
string | element_signature
string | syntax_data
string | symbol_data
string | type_data
string | diagnostic_data
string | processing_time_ms
uint64 | timestamp
uint64 | rust_version
string | analyzer_version
string | source_snippet
string | context_before
string | context_after
string |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/parsing.rs:380:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/parsing.rs
| 380 | 1 |
type_inference
| 529,201 |
variable_or_return
|
result: SsrRule
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let result: SsrRule = "foo($a, $b) ==>> bar($b, $a)".parse().unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:93:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 93 | 1 |
type_inference
| 529,202 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<Match, MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:124:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 124 | 1 |
type_inference
| 529,203 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<Match, MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:125:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 125 | 1 |
type_inference
| 529,204 |
variable_or_return
|
match_state
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let match_state = Matcher { sema, restrict_range: *restrict_range, rule };
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:128:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 128 | 1 |
type_inference
| 529,205 |
variable_or_return
|
file_range
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let file_range = sema
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:132:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 132 | 1 |
type_inference
| 529,206 |
variable_or_return
|
mut the_match
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut the_match = Match {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:149:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 149 | 1 |
type_inference
| 529,207 |
variable_or_return
|
Some(template)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(template) = &rule.template {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:158:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 158 | 1 |
type_inference
| 529,208 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn validate_range(&self, range: &FileRange) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:159:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 159 | 1 |
type_inference
| 529,209 |
variable_or_return
|
Some(restrict_range)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(restrict_range) = &self.restrict_range {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:174:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 174 | 1 |
type_inference
| 529,210 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:176:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 176 | 1 |
type_inference
| 529,211 |
variable_or_return
|
Some(placeholder)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(placeholder) = self.get_placeholder_for_node(pattern) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:180:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 180 | 1 |
type_inference
| 529,212 |
variable_or_return
|
Phase::Second(matches_out)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Phase::Second(matches_out) = phase {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:181:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 181 | 1 |
type_inference
| 529,213 |
variable_or_return
|
original_range
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let original_range = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:196:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 196 | 1 |
type_inference
| 529,214 |
variable_or_return
|
Some(pattern_ufcs)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(pattern_ufcs) = self.rule.pattern.ufcs_function_calls.get(pattern) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:197:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 197 | 1 |
type_inference
| 529,215 |
variable_or_return
|
Some(code)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(code) = ast::MethodCallExpr::cast(code.clone()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:200:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 200 | 1 |
type_inference
| 529,216 |
variable_or_return
|
Some(code)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(code) = ast::CallExpr::cast(code.clone()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:230:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 230 | 1 |
type_inference
| 529,217 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:243:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 243 | 1 |
type_inference
| 529,218 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:244:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 244 | 1 |
type_inference
| 529,219 |
variable_or_return
|
mut pattern_it
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut pattern_it = pattern_it.peekable();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:248:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 248 | 1 |
type_inference
| 529,220 |
variable_or_return
|
Some(p)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(p) = pattern_it.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:272:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 272 | 1 |
type_inference
| 529,221 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:278:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 278 | 1 |
type_inference
| 529,222 |
variable_or_return
|
Some(SyntaxElement::Token(p))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(SyntaxElement::Token(p)) = pattern.peek() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:324:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 324 | 1 |
type_inference
| 529,223 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:345:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 345 | 1 |
type_inference
| 529,224 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:346:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 346 | 1 |
type_inference
| 529,225 |
variable_or_return
|
Some(pattern_resolved)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(pattern_resolved) = self.rule.pattern.resolved_paths.get(pattern) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:347:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 347 | 1 |
type_inference
| 529,226 |
variable_or_return
|
pattern_path
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let pattern_path = ast::Path::cast(pattern.clone()).unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:348:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 348 | 1 |
type_inference
| 529,227 |
variable_or_return
|
code_path
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let code_path = ast::Path::cast(code.clone()).unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:349:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 349 | 1 |
type_inference
| 529,228 |
variable_or_return
|
(Some(pattern_segment), Some(code_segment))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let (Some(pattern_segment), Some(code_segment)) =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:366:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 366 | 1 |
type_inference
| 529,229 |
variable_or_return
|
resolution
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let resolution = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:385:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 385 | 1 |
type_inference
| 529,230 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:403:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 403 | 1 |
type_inference
| 529,231 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:405:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 405 | 1 |
type_inference
| 529,232 |
variable_or_return
|
mut fields_by_name: FxHashMap<SmolStr, SyntaxNode>
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut fields_by_name: FxHashMap<SmolStr, SyntaxNode> = FxHashMap::default();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:407:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 407 | 1 |
type_inference
| 529,233 |
variable_or_return
|
Some(record)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(record) = ast::RecordExprField::cast(child.clone()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:408:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 408 | 1 |
type_inference
| 529,234 |
variable_or_return
|
Some(name)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(name) = record.field_name() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:414:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 414 | 1 |
type_inference
| 529,235 |
variable_or_return
|
SyntaxElement::Node(p)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let SyntaxElement::Node(p) = p {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:415:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 415 | 1 |
type_inference
| 529,236 |
variable_or_return
|
Some(name_element)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(name_element) = p.first_child_or_token() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:422:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 422 | 1 |
type_inference
| 529,237 |
variable_or_return
|
Some(ident)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(ident) = only_ident(name_element) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:423:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 423 | 1 |
type_inference
| 529,238 |
variable_or_return
|
code_record
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let code_record = fields_by_name.remove(ident.text()).ok_or_else(|| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:434:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 434 | 1 |
type_inference
| 529,239 |
variable_or_return
|
Some(unmatched_fields)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(unmatched_fields) = fields_by_name.keys().next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:453:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 453 | 1 |
type_inference
| 529,240 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:454:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 454 | 1 |
type_inference
| 529,241 |
variable_or_return
|
mut pattern
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut pattern = PatternIterator::new(pattern).peekable();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:455:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 455 | 1 |
type_inference
| 529,242 |
variable_or_return
|
mut children
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut children = code.children_with_tokens();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:456:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 456 | 1 |
type_inference
| 529,243 |
variable_or_return
|
Some(child)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
while let Some(child) = children.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:457:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 457 | 1 |
type_inference
| 529,244 |
variable_or_return
|
Some(placeholder)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(placeholder) = pattern.peek().and_then(|p| self.get_placeholder(p)) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:459:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 459 | 1 |
type_inference
| 529,245 |
variable_or_return
|
next_pattern_token
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let next_pattern_token = pattern
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:466:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 466 | 1 |
type_inference
| 529,246 |
variable_or_return
|
first_matched_token
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let first_matched_token = child.clone();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:467:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 467 | 1 |
type_inference
| 529,247 |
variable_or_return
|
mut last_matched_token
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut last_matched_token = child;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:479:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 479 | 1 |
type_inference
| 529,248 |
variable_or_return
|
Some(first_token)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(first_token) = n.first_token() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:481:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 481 | 1 |
type_inference
| 529,249 |
variable_or_return
|
Some(SyntaxElement::Node(p))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(SyntaxElement::Node(p)) = pattern.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:492:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 492 | 1 |
type_inference
| 529,250 |
variable_or_return
|
Phase::Second(match_out)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Phase::Second(match_out) = phase {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:529:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 529 | 1 |
type_inference
| 529,251 |
variable_or_return
|
Some(p)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(p) = pattern.next() {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:540:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 540 | 1 |
type_inference
| 529,252 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:542:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 542 | 1 |
type_inference
| 529,253 |
variable_or_return
|
code_resolved_function
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let code_resolved_function = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:550:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 550 | 1 |
type_inference
| 529,254 |
variable_or_return
|
mut pattern_args
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut pattern_args = pattern_ufcs
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:559:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 559 | 1 |
type_inference
| 529,255 |
variable_or_return
|
(Some(pattern_type), Some(expr))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let (Some(pattern_type), Some(expr)) =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:562:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 562 | 1 |
type_inference
| 529,256 |
variable_or_return
|
deref_count
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let deref_count = self.check_expr_type(pattern_type, expr)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:563:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 563 | 1 |
type_inference
| 529,257 |
variable_or_return
|
pattern_receiver
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let pattern_receiver = pattern_args.next();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:565:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 565 | 1 |
type_inference
| 529,258 |
variable_or_return
|
Phase::Second(match_out)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Phase::Second(match_out) = phase {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:566:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 566 | 1 |
type_inference
| 529,259 |
variable_or_return
|
Some(placeholder_value)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(placeholder_value) = pattern_receiver
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:577:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 577 | 1 |
type_inference
| 529,260 |
variable_or_return
|
(self_param, _)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let (self_param, _) = callable.receiver_param(self.sema.db)?;
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:587:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 587 | 1 |
type_inference
| 529,261 |
variable_or_return
|
mut code_args
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut code_args =
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:602:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 602 | 1 |
type_inference
| 529,262 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:605:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 605 | 1 |
type_inference
| 529,263 |
variable_or_return
|
(Some(pattern_type), Some(expr))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let (Some(pattern_type), Some(expr)) = (
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:620:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 620 | 1 |
type_inference
| 529,264 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<usize, MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:622:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 622 | 1 |
type_inference
| 529,265 |
variable_or_return
|
code_type
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let code_type = self
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:629:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 629 | 1 |
type_inference
| 529,266 |
variable_or_return
|
krate
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let krate = self.sema.scope(expr.syntax()).map(|it| it.krate()).unwrap_or_else(|| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:639:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 639 | 1 |
type_inference
| 529,267 |
variable_or_return
|
display_target
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let display_target = krate.to_display_target(self.sema.db);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:649:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 649 | 1 |
type_inference
| 529,268 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn get_placeholder_for_node(&self, node: &SyntaxNode) -> Option<&Placeholder> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:653:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 653 | 1 |
type_inference
| 529,269 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn get_placeholder(&self, element: &SyntaxElement) -> Option<&Placeholder> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:663:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 663 | 1 |
type_inference
| 529,270 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:664:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 664 | 1 |
type_inference
| 529,271 |
variable_or_return
|
module
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let module = sema
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:669:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 669 | 1 |
type_inference
| 529,272 |
variable_or_return
|
hir::PathResolution::Def(module_def)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let hir::PathResolution::Def(module_def) = resolved_path.resolution {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:670:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 670 | 1 |
type_inference
| 529,273 |
variable_or_return
|
cfg
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let cfg = ImportPathConfig {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:676:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 676 | 1 |
type_inference
| 529,274 |
variable_or_return
|
mod_path
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mod_path = module.find_path(sema.db, module_def, cfg).ok_or_else(|| {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:687:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 687 | 1 |
type_inference
| 529,275 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn next_non_trivial(&mut self, code_it: &mut SyntaxElementChildren) -> Option<SyntaxElement> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:689:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 689 | 1 |
type_inference
| 529,276 |
variable_or_return
|
c
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let c = code_it.next();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:690:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 690 | 1 |
type_inference
| 529,277 |
variable_or_return
|
Some(SyntaxElement::Token(t))
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(SyntaxElement::Token(t)) = &c {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:702:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 702 | 1 |
type_inference
| 529,278 |
variable_or_return
|
Phase::Second(match_out)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Phase::Second(match_out) = self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:703:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 703 | 1 |
type_inference
| 529,279 |
variable_or_return
|
Some(comment)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let Some(comment) = ast::Comment::cast(token.clone()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:711:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 711 | 1 |
type_inference
| 529,280 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"bool"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn is_closing_token(kind: SyntaxKind) -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:715:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 715 | 1 |
type_inference
| 529,281 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"bool"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
pub(crate) fn record_match_fails_reasons_scope<F, T>(debug_active: bool, f: F) -> T
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:717:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 717 | 1 |
type_inference
| 529,282 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
F: Fn() -> T,
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:720:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 720 | 1 |
type_inference
| 529,283 |
variable_or_return
|
res
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let res = f();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:733:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 733 | 1 |
type_inference
| 529,284 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"bool"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn recording_match_fail_reasons() -> bool {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:738:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 738 | 1 |
type_inference
| 529,285 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn from_range(range: FileRange) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:749:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 749 | 1 |
type_inference
| 529,286 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn matches(&self, node: &SyntaxNode) -> Result<(), MatchFailed> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:750:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 750 | 1 |
type_inference
| 529,287 |
variable_or_return
|
ok
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let ok = match self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:764:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 764 | 1 |
type_inference
| 529,288 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn only_ident(element: SyntaxElement) -> Option<SyntaxToken> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:772:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 772 | 1 |
type_inference
| 529,289 |
variable_or_return
|
mut children
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut children = n.children_with_tokens();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:773:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 773 | 1 |
type_inference
| 529,290 |
variable_or_return
|
(Some(only_child), None)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
if let (Some(only_child), None) = (children.next(), children.next()) {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:788:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 788 | 1 |
type_inference
| 529,291 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn next(&mut self) -> Option<SyntaxElement> {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:794:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 794 | 1 |
type_inference
| 529,292 |
variable_or_return
| null | null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
fn new(parent: &SyntaxNode) -> Self {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:805:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 805 | 1 |
type_inference
| 529,293 |
variable_or_return
|
rule: SsrRule
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let rule: SsrRule = "foo($x) ==>> bar($x)".parse().unwrap();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:806:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 806 | 1 |
type_inference
| 529,294 |
variable_or_return
|
input
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let input = "fn foo() {} fn bar() {} fn main() { foo(1+2); }";
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:808:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 808 | 1 |
type_inference
| 529,295 |
variable_or_return
|
(db, position, selections)
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let (db, position, selections) = crate::tests::single_file(input);
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:809:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 809 | 1 |
type_inference
| 529,296 |
variable_or_return
|
position
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let position = ide_db::FilePosition {
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:813:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 813 | 1 |
type_inference
| 529,297 |
variable_or_return
|
mut match_finder
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let mut match_finder = MatchFinder::in_context(
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:826:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 826 | 1 |
type_inference
| 529,298 |
variable_or_return
|
matches
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let matches = match_finder.matches();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:831:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 831 | 1 |
type_inference
| 529,299 |
variable_or_return
|
edits
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let edits = match_finder.edits();
| null | null |
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs:833:type_inference
|
/home/mdupont/2025/06/27/rust-analyzer/crates/ide-ssr/src/matching.rs
| 833 | 1 |
type_inference
| 529,300 |
variable_or_return
|
edit
| null | null | null |
{"confidence":0.95,"inference_method":"explicit","inferred_type":"unknown"}
| null | 3 | 1,754,595,407 |
1.86.0
|
0.3.2000
|
let edit = &edits[&position.file_id];
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.