File tree 1 file changed +5
-2
lines changed
crates/rust-analyzer/src/cli
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -453,8 +453,11 @@ impl flags::AnalysisStats {
453
453
err_idx += 7 ;
454
454
let err_code = & err[ err_idx..err_idx + 4 ] ;
455
455
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 ,
458
461
_ => ( ) ,
459
462
}
460
463
bar. println ( err) ;
You can’t perform that action at this time.
0 commit comments