# Generic Variables: simple implicity context passing

**URL:** <https://internals.rust-lang.org/t/generic-variables-simple-implicity-context-passing/24509>\
**Category:** language design\
**Created:** [August 6, 2026, 8:28am UTC](https://internals.rust-lang.org/t/generic-variables-simple-implicity-context-passing/24509 "2026-08-06T08:28:13Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Vorpal](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@Vorpal](https://internals.rust-lang.org/u/Vorpal)\
**Post date:** [August 8, 2026, 11:53pm UTC](https://internals.rust-lang.org/t/generic-variables-simple-implicity-context-passing/24509/16 "2026-08-08T23:53:41Z")

</div>

> [@ais523](#):
>
> Alternatively, you could use exposed provenance, but [LLVM doesn't implement exposed provenance correctly at the moment](https://github.com/rust-lang/rust/issues/160722) and there's no point in writing theoretically correct code if the compiler is incapable of compiling it correctly.)

It is a bit of a big hammer, but couldn't you combine exposed provenance with noop inline assembly blocks as optimisation barriers (story: the assembly blocks read/write the pointers from/to somewhere that the compiler can't track, and thus they trick escape analysis).

---

_[View the full topic](https://internals.rust-lang.org/t/generic-variables-simple-implicity-context-passing/24509)._
