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
Clone + Copy
ContextRef
Is your feature request related to a problem? Please describe. create_debug_location accepts the following argument: context: impl AsContextRef<'ctx>.
create_debug_location
context: impl AsContextRef<'ctx>
I store context: ContextRef<'ctx> from module, when creating debug info builder, but it's not clonnable
context: ContextRef<'ctx>
Describe the solution you'd like Copyable ContextRef
Describe possible drawbacks to your solution Safety issues possibly?
The text was updated successfully, but these errors were encountered:
Will have to think about any possible safety concerns some more... That said, I think it'd be ok to make it clone or maybe even copy.
Sorry, something went wrong.
The 'ctx lifetime effectively makes it a reference to the original Context, so I think Copy would be safe
Context
No branches or pull requests
Is your feature request related to a problem? Please describe.
create_debug_location
accepts the following argument:context: impl AsContextRef<'ctx>
.I store
context: ContextRef<'ctx>
from module, when creating debug info builder, but it's not clonnableDescribe the solution you'd like
Copyable
ContextRef
Describe possible drawbacks to your solution
Safety issues possibly?
The text was updated successfully, but these errors were encountered: