File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
crates/rust-analyzer/src/cli Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -453,8 +453,11 @@ impl flags::AnalysisStats {
453453 err_idx += 7 ;
454454 let err_code = & err[ err_idx..err_idx + 4 ] ;
455455 match err_code {
456- "0282" => continue , // Byproduct of testing method
457- "0277" if generated. contains ( & todo) => continue , // See https://github.com/rust-lang/rust/issues/69882
456+ "0282" | "0283" => continue , // Byproduct of testing method
457+ "0277" | "0308" if generated. contains ( & todo) => continue , // See https://github.com/rust-lang/rust/issues/69882
458+ // FIXME: In some rare cases `AssocItem::container_or_implemented_trait` returns `None` for trait methods.
459+ // Generated code is valid in case traits are imported
460+ "0599" if err. contains ( "the following trait is implemented but not in scope" ) => continue ,
458461 _ => ( ) ,
459462 }
460463 bar. println ( err) ;
You can’t perform that action at this time.
0 commit comments