Skip to content

Commit 831e273

Browse files
committed
Work around intra doc link bug
rust-lang/rust#61804 The bug is fixed in nightly but docs.rs hasn't picked up the fix yet.
1 parent 037d0c9 commit 831e273

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ pub type Result<T> = std::result::Result<T, Error>;
2626
/// [`compile_error!`] in the generated code. This produces a better diagnostic
2727
/// message than simply panicking the macro.
2828
///
29+
/// [`compile_error!`]: https://doc.rust-lang.org/std/macro.compile_error.html
30+
///
2931
/// When parsing macro input, the [`parse_macro_input!`] macro handles the
3032
/// conversion to `compile_error!` automatically.
3133
///

0 commit comments

Comments
 (0)