diff options
| author | Michael Howell <michael@notriddle.com> | 2024-07-12 18:16:30 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-07-12 18:18:30 -0700 |
| commit | 42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c (patch) | |
| tree | 0870ee46fd7e716b7cf0ae2dbc9a1a785db5389d /tests/rustdoc-ui/ice-unresolved-import-100241.rs | |
| parent | 17419f6499546443fd311cc81a0d44ae233c306f (diff) | |
| download | rust-42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c.tar.gz rust-42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c.zip | |
Move assertion-free rustdoc ice tests to rustdoc-ui
Diffstat (limited to 'tests/rustdoc-ui/ice-unresolved-import-100241.rs')
| -rw-r--r-- | tests/rustdoc-ui/ice-unresolved-import-100241.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/ice-unresolved-import-100241.rs b/tests/rustdoc-ui/ice-unresolved-import-100241.rs new file mode 100644 index 00000000000..eef4b8355bf --- /dev/null +++ b/tests/rustdoc-ui/ice-unresolved-import-100241.rs @@ -0,0 +1,14 @@ +//! See [`S`]. + +// Check that this isn't an ICE +//@ should-fail + +// https://github.com/rust-lang/rust/issues/100241 + +mod foo { + pub use inner::S; + //~^ ERROR unresolved imports `inner`, `foo::S` +} + +use foo::*; +use foo::S; |
