Azure / Azure/azure-sdk-tools

[Rust APIView] pub use re-export is rendered with invalid `=` syntax

Open
#15,600 0 comments 0 reactions 0 assignees View on GitHub
APIView customer-reported question Rust
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

The APIView currently displays this Rust re-export as:

```Rust
pub use Query = query::Query
```

This should be rendered as a standard Rust re-export without `=`:

```Rust
pub use query::Query;
```

The current output is a parser/rendering bug in the Rust language parser, not a guideline issue.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rust language parser and its APIView rendering logic for public re-exports, then reproduce the issue with the shown `pub use` example. Done means the rendered output is `pub use query::Query;` without the invalid `=` syntax, while other Rust re-exports remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.