Rollup merge of #40344 - nrc:save-container, r=eddyb
Rollup merge of #40344 - nrc:save-container, r=eddyb

save-analysis: cope with lack of method data after a type error

Fixes #39957

r? @eddyb

graydon/rust,GBGamer/rust,graydon/rust,aidancully/rust,aidancully/rust,GBGamer/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,aidancully/rust,graydon/rust,GBGamer/rust,GBGamer/rust,graydon/rust,GBGamer/rust,graydon/rust,GBGamer/rust,aidancully/rust