-
Notifications
You must be signed in to change notification settings - Fork 13.3k
pub unit struct constructors can't be resolved cross-crate #8233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
A-metadata
Area: Crate metadata
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
Comments
Dupe of #7634 |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jan 13, 2022
This pull request adds a lint against single character lifetime names, as they might not divulge enough information about the purpose of the lifetime. This can make code harder to understand. I placed this in `restriction` rather than `pedantic` (as suggested in rust-lang#8233) since most of the Rust ecosystem already uses single character lifetime names (to my knowledge, at least) and since single character lifetime names aren't incorrect. I'd be happy to change this upon request, however. Fixes rust-lang#8233. - [x] Followed lint naming conventions - [x] Added passing UI tests (including committed `.stderr` file) - [x] `cargo test` passes locally - [x] Executed `cargo dev update_lints` - [x] Added lint documentation - [x] Run `cargo dev fmt` changelog: new lint: [`single_char_lifetime_names`]
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jan 13, 2022
…mes, r=llogiq new lint: `single_char_lifetime_names` This pull request adds a lint against single character lifetime names, as they might not divulge enough information about the purpose of the lifetime. This can make code harder to understand. I placed this in `restriction` rather than `pedantic` (as suggested in rust-lang#8233) since most of the Rust ecosystem already uses single character lifetime names (to my knowledge, at least) and since single character lifetime names aren't incorrect. I'd be happy to change this upon request, however. Fixes rust-lang#8233. - [x] Followed lint naming conventions - [x] Added passing UI tests (including committed `.stderr` file) - [x] `cargo test` passes locally - [x] Executed `cargo dev update_lints` - [x] Added lint documentation - [x] Run `cargo dev fmt` changelog: new lint: [`single_char_lifetime_names`]
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jun 23, 2024
feat: add `toggleLSPLogs` command Implement client-side command to toggle LSP logs in VSCode. The command replaces the need to add/remove the `"rust-analyzer.trace.server": "verbose"` setting each time one wants to display logs. I've also updated the docs/ instances that reference the now outdated manual method. The command labeled `rust-analyzer: Toggle LSP Logs` enables the setting project-wide and opens the relevant trace output channel. Closes rust-lang#8233
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-metadata
Area: Crate metadata
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
...even though mentioning the type works fine. This doesn't work:
but replacing the expression with
None
works fine.nominating well-covered
The text was updated successfully, but these errors were encountered: