diff options
| author | Havvy <ryan.havvy@gmail.com> | 2017-12-04 21:55:24 -0800 |
|---|---|---|
| committer | Havvy <ryan.havvy@gmail.com> | 2017-12-04 21:55:24 -0800 |
| commit | 44c343be45ef0ef68f456eeb8f5a07fa46eb599b (patch) | |
| tree | 1cd61586ea50e6263fab727d4b86f2cfb3f8a251 /src/libcore | |
| parent | a4fa23a5bbbffc15c7ef6df5781478ddc7a45640 (diff) | |
| download | rust-44c343be45ef0ef68f456eeb8f5a07fa46eb599b.tar.gz rust-44c343be45ef0ef68f456eeb8f5a07fa46eb599b.zip | |
Give compile_error macro examples
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 6e3dbcbec9d..fe2df226115 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -596,9 +596,9 @@ mod builtin { /// Unconditionally causes compilation to fail with the given error message when encountered. /// - /// For more information, see the [RFC]. + /// For more information, see the documentation for [`std::compile_error!`]. /// - /// [RFC]: https://github.com/rust-lang/rfcs/blob/master/text/1695-add-error-macro.md + /// [`std::compile_error!`]: ../std/macro.compile_error.html #[stable(feature = "compile_error_macro", since = "1.20.0")] #[macro_export] #[cfg(dox)] |
