This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
a655e648a9
rust
/
tests
/
rustdoc-ui
/
intra-doc
/
pointer-reexports-allowed.rs
5 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
2024-02-22 12:10:29 +00:00
//@ aux-build:pointer-reexports-allowed.rs
//@ check-pass
[intra-doc links] Don't check feature gates of items re-exported across crates It should be never break another crate to re-export a public item. Note that this doesn't check the feature gate at *all* for other crates: - Feature-gates aren't currently serialized, so the only way to check the gate is with ad-hoc attribute checking. - Checking the feature gate twice (once when documenting the original crate and one when documenting the current crate) seems not great. This should still catch using the feature most of the time though, since people tend to document their own crates.
2021-02-19 10:18:10 -05:00
extern
crate
inner
;
pub
use
inner
::
foo
;
Copy permalink