We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Any
CrateStore
1 parent 47af3f1 commit 2237e89Copy full SHA for 2237e89
src/librustc/middle/cstore.rs
@@ -150,12 +150,7 @@ pub struct ExternCrate {
150
151
/// A store of Rust crates, through with their metadata
152
/// can be accessed.
153
-///
154
-/// The `: Any` bound is a temporary measure that allows access
155
-/// to the backing `rustc_metadata::cstore::CStore` object. It
156
-/// will be removed in the near future - if you need to access
157
-/// internal APIs, please tell us.
158
-pub trait CrateStore<'tcx> : Any {
+pub trait CrateStore<'tcx> {
159
// item info
160
fn stability(&self, def: DefId) -> Option<attr::Stability>;
161
fn deprecation(&self, def: DefId) -> Option<attr::Deprecation>;
0 commit comments