Skip to main content

env_unknown_name_check

Function env_unknown_name_check 

Source
pub(super) fn env_unknown_name_check(parsed_impl: &ParsedImpl) -> Vec<String>
Expand description

The check in an env class’s $.Class before it returns NULL for a name that is neither a field nor a method: under restored(refuse = "every_read") a pointer without its Rust value raises the type’s restored error there (#1901). With a fallback (#2150) the bare pointer then asks it, after the fields and the methods, so a value of the fallback never hides a method; its None reads NULL, as an unknown name does.