about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@codethink.co.uk>2020-10-09 17:36:35 +0100
committerTom Eccles <tom.eccles@codethink.co.uk>2020-10-09 17:36:35 +0100
commite0b033e965a7d422da70a409a028af7c8b64e709 (patch)
treee0265b43cee74f813af527c1288662258591806c /compiler/rustc_codegen_llvm/src
parenta4a0342cf59a1bff43ed79586065eb97dba0cddb (diff)
downloadrust-e0b033e965a7d422da70a409a028af7c8b64e709.tar.gz
rust-e0b033e965a7d422da70a409a028af7c8b64e709.zip
doc: fix broken link for crate::os::linux::raw::stat
Fixing:

 Documenting std v0.0.0 (/checkout/library/std)
error: `self::os::linux::raw::stat` is both a struct and a function
  --> library/std/src/os/linux/fs.rs:23:19
   |
23 |     /// [`stat`]: crate::os::linux::raw::stat
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ambiguous link
   |
   = note: `-D broken-intra-doc-links` implied by `-D warnings`
help: to link to the struct, prefix with `struct@`
   |
23 |     /// [`stat`]: struct@self::os::linux::raw::stat
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: to link to the function, add parentheses
   |
23 |     /// [`stat`]: self::os::linux::raw::stat()
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not document `std`

Signed-off-by: Tom Eccles <tom.eccles@codethink.co.uk>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions