about summary refs log tree commit diff
path: root/src/librustc_interface/callbacks.rs
AgeCommit message (Collapse)AuthorLines
2020-04-05Query-ify Instance::resolveAaron Hill-1/+0
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-2/+2
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-4/+4
2020-02-29Make it build againVadim Petrochenkov-2/+2
2020-02-13Move resolve_instance to rustc_ty.Camille GILLOT-0/+1
2020-02-04remove redundant imports (clippy::single_component_path_imports)Matthias Krüger-1/+0
2020-01-04move def_id to new rustc_hir crateMazdak Farrokhzad-0/+14
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-4/+4
2019-12-25Store callbacks in global staticsMark Rousskov-0/+48
The callbacks have precisely two states: the default, and the one present throughout almost all of the rustc run (the filled in value which has access to TyCtxt). We used to store this as a thread local, and reset it on each thread to the non-default value. But this is somewhat wasteful, since there is no reason to set it globally -- while the callbacks themselves access TLS, they do not do so in a manner that fails in when we do not have TLS to work with.