1
Fork 0

Keep track of #[stable] attribute even if version cannot be parsed

This commit is contained in:
David Tolnay 2023-10-23 23:06:52 -07:00
parent f2ae7b55ae
commit ddcb1833ff
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
2 changed files with 15 additions and 7 deletions

View file

@ -260,6 +260,10 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
}
}
}
Since::Err => {
// An error already reported. Assume the unparseable stabilization
// version is older than the deprecation version.
}
}
}