Rollup merge of #75318 - jyn514:primitive, r=manishearth
Resolve `char` as a primitive even if there is a module in scope Closes https://github.com/rust-lang/rust/issues/58699. r? @Manishearth
This commit is contained in:
commit
968740a3a3
2 changed files with 11 additions and 4 deletions
|
|
@ -8,5 +8,10 @@ pub mod char {}
|
|||
pub struct MyString;
|
||||
|
||||
/// See also [char]
|
||||
// @has intra_link_prim_precedence/struct.MyString2.html '//a/@href' 'intra_link_prim_precedence/char/index.html'
|
||||
// @has intra_link_prim_precedence/struct.MyString2.html '//a/@href' 'https://doc.rust-lang.org/nightly/std/primitive.char.html'
|
||||
pub struct MyString2;
|
||||
|
||||
/// See also [crate::char] and [mod@char]
|
||||
// @has intra_link_prim_precedence/struct.MyString3.html '//*[@href="../intra_link_prim_precedence/char/index.html"]' 'crate::char'
|
||||
// @has - '//*[@href="../intra_link_prim_precedence/char/index.html"]' 'mod@char'
|
||||
pub struct MyString3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue