about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-06 16:52:38 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-17 10:39:18 +1100
commitaec4e8115b1444dfcc3332e0358036874df7fc6e (patch)
tree83b342d05a03a8a1951f752fa2d37fe0e259c1eb /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6246f0446afbe9abff18e8cc1ebaae7505f7cd9e (diff)
downloadrust-aec4e8115b1444dfcc3332e0358036874df7fc6e.tar.gz
rust-aec4e8115b1444dfcc3332e0358036874df7fc6e.zip
Move `lint_store` from `GlobalCtxt` to `Session`.
This was made possible by the removal of plugin support, which
simplified lint store creation.

This simplifies the places in rustc and rustdoc that call
`describe_lints`, which are early on. The lint store is now built before
those places, so they don't have to create their own lint store for
temporary use, they can just use the main one.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions