]> git.lizzy.rs Git - rust.git/commit
Reduce API surface of rustc_trans
authorRobin Kruppe <robin.kruppe@gmail.com>
Sat, 27 May 2017 18:13:32 +0000 (20:13 +0200)
committerRobin Kruppe <robin.kruppe@gmail.com>
Sat, 27 May 2017 19:08:13 +0000 (21:08 +0200)
commit493cd6b6e2dfc400c4026f1f2c9b89e97055107e
treea64721216e91b2668cd90f07d8c00b680addce2d
parent557967766be6139bd747ab2c3dc56ff0c9b8852a
Reduce API surface of rustc_trans

Mark various items and fields as private or pub(crate), and remove a function that turns out to be unused.
These are not used anywhere in-tree, but I guess it's a [breaking-change] for plugins.
src/librustc_trans/assert_module_sources.rs
src/librustc_trans/back/symbol_names.rs
src/librustc_trans/lib.rs