-
Notifications
You must be signed in to change notification settings - Fork 1.7k
internal: Make block_def_map infallible #14574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@bors r+ |
internal: Make block_def_map infallible
@bors r+ |
☀️ Test successful - checks-actions |
@@ -290,7 +290,7 @@ impl InherentImpls { | |||
let _p = profile::span("inherent_impls_in_block_query"); | |||
let mut impls = Self { map: FxHashMap::default(), invalid_impls: Vec::default() }; | |||
|
|||
let block_def_map = db.block_def_map(block)?; | |||
let block_def_map = db.block_def_map(block); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this and trait_impls_in_block_query
be infallible now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ye they should, didn't notice that
minor: Make inherent_impls_in_block and trait_impls_in_block infallible Fixes #14574 (comment)
No description provided.