diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-07-13 21:46:47 -0500 |
|---|---|---|
| committer | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-07-13 21:46:47 -0500 |
| commit | e78fb9bad0e9137c75147c4469806fe0e61154c2 (patch) | |
| tree | e448cf5dc01836dcbea1baebc85c3c025295b9cb | |
| parent | a9a6952fd0670f6daa7fe6047dac339823c2d827 (diff) | |
| download | rust-e78fb9bad0e9137c75147c4469806fe0e61154c2.tar.gz rust-e78fb9bad0e9137c75147c4469806fe0e61154c2.zip | |
add test for issue 52129
| -rw-r--r-- | src/test/rustdoc/doc-proc-macro.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/rustdoc/doc-proc-macro.rs b/src/test/rustdoc/doc-proc-macro.rs new file mode 100644 index 00000000000..b3b403a7b86 --- /dev/null +++ b/src/test/rustdoc/doc-proc-macro.rs @@ -0,0 +1,18 @@ +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// Issue #52129: ICE when trying to document the `quote` proc-macro from proc_macro + +// As of this writing, we don't currently attempt to document proc-macros. However, we shouldn't +// crash when we try. + +extern crate proc_macro; + +pub use proc_macro::*; |
