Skip to content

Add span to some import resolution errors - #6476

Closed
emberian wants to merge 1 commit into
rust-lang:incomingfrom
emberian:better_resolution_error
Closed

Add span to some import resolution errors#6476
emberian wants to merge 1 commit into
rust-lang:incomingfrom
emberian:better_resolution_error

Conversation

@emberian

Copy link
Copy Markdown
Contributor

No description provided.

@catamorphism

Copy link
Copy Markdown
Contributor

Closed by author's request

flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 2, 2021
Added from_over_into lint
Closesrust-lang#6456
Added a lint that searches for implementations of `Into<..>` and suggests to implement `From<..>` instead, as it comes with a default implementation of `Into`. Category: style.
changelog: added `from_over_into` lint
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6476: Add missing AssocItems in add_custom_impl assist r=matklad a=Veykril
```rust
use std::fmt;
#[derive(Debu<|>g)]
struct Foo {
bar: String,
}
```
->
```rust
use std::fmt;
struct Foo {
bar: String,
}
impl fmt::Debug for Foo {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
${0:todo!()}
}
}
```
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@emberian@catamorphism