Skip to content

Commit

Permalink
Work around intra doc link bug
Browse files Browse the repository at this point in the history
rust-lang/rust#61804
The bug is fixed in nightly but docs.rs hasn't picked up the fix yet.
  • Loading branch information
dtolnay committed Aug 12, 2019
1 parent 037d0c9 commit 831e273
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pub type Result<T> = std::result::Result<T, Error>;
/// [`compile_error!`] in the generated code. This produces a better diagnostic
/// message than simply panicking the macro.
///
/// [`compile_error!`]: https://doc.rust-lang.org/std/macro.compile_error.html
///
/// When parsing macro input, the [`parse_macro_input!`] macro handles the
/// conversion to `compile_error!` automatically.
///
Expand Down

0 comments on commit 831e273

Please sign in to comment.