You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rustc 8134.rs
warning: missing crate link meta `name`, using `8134` as default
warning: missing crate link meta `vers`, using `0.0` as default
error: internal compiler error: encode_symbol: id not found 11
It appears to be an interaction with the generic; removing the <T> makes it compile fine.
Whenever a generic function was encountered, only the top-level items were
recursed upon, even though the function could contain items inside blocks or
nested inside of other expressions. This fixes the existing code from traversing
just the top level items to using a Visitor to deeply recurse and find any items
which need to be translated.
This was uncovered when building code with --lib, because the encode_symbol
function would panic once it found that an item hadn't been translated.
Closes#8134
The below code snippet generates an internal compiler error, apparently related to the static vector declared inside the function.
The text was updated successfully, but these errors were encountered: