diff options
| author | Michael Howell <michael@notriddle.com> | 2025-01-29 11:36:36 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2025-01-29 11:38:15 -0700 |
| commit | eb457da5cafc0eb907a0ecf70ffae5a37cd4e8f0 (patch) | |
| tree | 7367ca7dbca5f54a188a6db4cc35f996f9deb365 /tests/rustdoc-ui/intra-doc/ice-104145.rs | |
| parent | fdef34b4ddfeebf614bb58622b4053cff616234a (diff) | |
| download | rust-eb457da5cafc0eb907a0ecf70ffae5a37cd4e8f0.tar.gz rust-eb457da5cafc0eb907a0ecf70ffae5a37cd4e8f0.zip | |
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/ice-104145.rs')
| -rw-r--r-- | tests/rustdoc-ui/intra-doc/ice-104145.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/ice-104145.rs b/tests/rustdoc-ui/intra-doc/ice-104145.rs new file mode 100644 index 00000000000..0e403b21c8a --- /dev/null +++ b/tests/rustdoc-ui/intra-doc/ice-104145.rs @@ -0,0 +1,17 @@ +// https://github.com/rust-lang/rust/issues/104145 +//@ check-pass + +// Doc links in `Trait`'s methods are resolved because it has a local impl. + +//@ aux-build:issue-103463-aux.rs + +extern crate issue_103463_aux; +use issue_103463_aux::Trait; + +pub struct LocalType; + +impl Trait for LocalType { + fn method() {} +} + +fn main() {} |
