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 {
44
55pub struct Foo ( <Foo as crate :: Assoc >:: Ty ) ;
66
7- const _ : ( ) = {
7+ const _X : ( ) = {
88 impl crate :: Assoc for Foo {
99 type Ty = Bar ;
1010 }
Original file line number Diff line number Diff line change 22//@ aux-build:wrap-unnamable-type.rs
33//@ build-aux-docs
44
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+
59#![ crate_name = "foo" ]
610
711extern crate wrap_unnamable_type as helper;
8- //extern crate helper;
12+
913//@ has 'foo/struct.Foo.html'
10- //@ !hasraw - '_/ struct.Bar.html'
14+ //@ !hasraw - 'struct.Bar.html'
1115#[ doc( inline) ]
1216pub use helper:: Foo ;
You can’t perform that action at this time.
0 commit comments