Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[naga] Make
BlockContext::resolve_pointer_type
infallible.
Since `BlockContext::resolve_pointer_type` never returns an error, change its result type from a `Result` to a `&TypeInner`. Adjust callers accordingly. Remove calls (well, there's only one) to `resolve_pointer_type` entirely when the caller does not need the value, since `resolve_pointer_type` is now infallible and has no side effects.
- Loading branch information