Keep track of #[stable] attribute even if version cannot be parsed
This commit is contained in:
parent
f2ae7b55ae
commit
ddcb1833ff
2 changed files with 15 additions and 7 deletions
|
@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue