Module rustc_middle::ty::context::tls::tlv

source ·

Constants

  • INIT_EXPR 🔒
  • TLV 🔒
    A thread local variable that stores a pointer to the current ImplicitCtxt.

Statics

Functions

  • __getit 🔒 ⚠
  • destroy 🔒 ⚠
  • get_tlv 🔒
    Gets the pointer to the current ImplicitCtxt.
  • with_tlv 🔒
    Sets TLV to value during the call to f. It is restored to its previous value after. This is used to set the pointer to the new ImplicitCtxt.