File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub trait Assoc {
4
4
5
5
pub struct Foo ( <Foo as crate :: Assoc >:: Ty ) ;
6
6
7
- const _ : ( ) = {
7
+ const _X : ( ) = {
8
8
impl crate :: Assoc for Foo {
9
9
type Ty = Bar ;
10
10
}
Original file line number Diff line number Diff line change 2
2
//@ aux-build:wrap-unnamable-type.rs
3
3
//@ build-aux-docs
4
4
5
+ // regression test for https://github.com/rust-lang/rust/issues/143222
6
+ // makes sure normalizing docs does not cause us to link to unnamable types
7
+ // in cross-crate reexports.
8
+
5
9
#![ crate_name = "foo" ]
6
10
7
11
extern crate wrap_unnamable_type as helper;
8
- //extern crate helper;
12
+
9
13
//@ has 'foo/struct.Foo.html'
10
- //@ !hasraw - '_/ struct.Bar.html'
14
+ //@ !hasraw - 'struct.Bar.html'
11
15
#[ doc( inline) ]
12
16
pub use helper:: Foo ;
You can’t perform that action at this time.
0 commit comments