Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 77a2f46

Browse files
committed
Correct two links to the json-error-emitter
1 parent fed7a31 commit 77a2f46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rls-span/src/compiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///! These are the structures emitted by the compiler as part of JSON errors.
22
///! The original source can be found at
3-
///! https://github.com/rust-lang/rust/blob/master/src/libsyntax/json.rs
3+
///! https://github.com/rust-lang/rust/blob/master/src/librustc_errors/json.rs
44
use std::path::PathBuf;
55

66
use crate::{Column, OneIndexed, Row, Span};

rls/src/actions/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! Data definitions for diagnostics can be found in the Rust compiler for:
44
//! 1. Internal diagnostics at `src/librustc_errors/diagnostic.rs`.
5-
//! 2. Emitted JSON format at `src/libsyntax/json.rs`.
5+
//! 2. Emitted JSON format at `src/librustc_errors/json.rs`.
66
77
use std::collections::HashMap;
88
use std::iter;

0 commit comments

Comments
 (0)