diff --git a/xtask/src/codegen.rs b/xtask/src/codegen.rs index 58a3fb6441..8165a2a12b 100644 --- a/xtask/src/codegen.rs +++ b/xtask/src/codegen.rs @@ -119,7 +119,7 @@ impl fmt::Display for Location { let name = self.file.file_name().unwrap(); write!( f, - " [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#{}) ", + " [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#L{}) ", name.to_str().unwrap(), path, self.line