diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-02-29 20:16:26 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-02-29 20:47:10 +0300 |
| commit | 6054a30370209472f2af45d2a84a9a9796b3c64a (patch) | |
| tree | d787f1b56fda6d4c9d347861335c3bccc76ca115 /src/test/rustdoc | |
| parent | e94d3b70cb495df83230cff9ef5bb00f235883e4 (diff) | |
| download | rust-6054a30370209472f2af45d2a84a9a9796b3c64a.tar.gz rust-6054a30370209472f2af45d2a84a9a9796b3c64a.zip | |
Make it build again
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/comment-in-doctest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/comment-in-doctest.rs b/src/test/rustdoc/comment-in-doctest.rs index e4e41bc7ce3..5691d173569 100644 --- a/src/test/rustdoc/comment-in-doctest.rs +++ b/src/test/rustdoc/comment-in-doctest.rs @@ -1,7 +1,7 @@ // compile-flags:--test // comments, both doc comments and regular ones, used to trick rustdoc's doctest parser into -// thinking that everything after it was part of the regular program. combined with the libsyntax +// thinking that everything after it was part of the regular program. combined with the librustc_ast // parser loop failing to detect the manual main function, it would wrap everything in `fn main`, // which would cause the doctest to fail as the "extern crate" declaration was no longer valid. // oddly enough, it would pass in 2018 if a crate was in the extern prelude. see |
