We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example: in some other ingot (eg core):
core
pub enum Option<T> { Some(T), None, }
in a file that uses core:
use
use core::Option fn f() { let x = Option::None // this is fine let y = Option::Some(10) // `Some` is not found in `Option` }
The CandidateAssembler only collects enum variant constructors defined in the ingot of the current scope.
CandidateAssembler
I'll try to fix this in the next day or two, just putting it here in case someone else runs into it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example: in some other ingot (eg
core
):in a file that
use
s core:The
CandidateAssembler
only collects enum variant constructors defined in the ingot of the current scope.I'll try to fix this in the next day or two, just putting it here in case someone else runs into it.
The text was updated successfully, but these errors were encountered: