diff options
| author | Michael Howell <michael@notriddle.com> | 2023-11-23 14:54:19 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-23 14:54:19 -0700 |
| commit | fdde5c77a834c8275c23648ddaca9c18adee07d4 (patch) | |
| tree | ce5fe3b5b462dc47b86af655c5c13e249f6c2aaa /tests/rustdoc-ui/circular-intra-doc-link-48414.rs | |
| parent | cbe68435c603da438b8994c1a583b46fc01821cf (diff) | |
| download | rust-fdde5c77a834c8275c23648ddaca9c18adee07d4.tar.gz rust-fdde5c77a834c8275c23648ddaca9c18adee07d4.zip | |
rustdoc: move ICE tests to ui
Diffstat (limited to 'tests/rustdoc-ui/circular-intra-doc-link-48414.rs')
| -rw-r--r-- | tests/rustdoc-ui/circular-intra-doc-link-48414.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/circular-intra-doc-link-48414.rs b/tests/rustdoc-ui/circular-intra-doc-link-48414.rs new file mode 100644 index 00000000000..46367ccaef9 --- /dev/null +++ b/tests/rustdoc-ui/circular-intra-doc-link-48414.rs @@ -0,0 +1,14 @@ +// aux-build:issue-48414.rs +// check-pass + +// https://github.com/rust-lang/rust/issues/48414 + +// ICE when resolving paths for a trait that linked to another trait, when both were in an external +// crate + +#![crate_name = "base"] + +extern crate issue_48414; + +#[doc(inline)] +pub use issue_48414::{SomeTrait, OtherTrait}; |
