-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Modify some parser diagnostics to continue evaluating beyond the parser #57540
Merged
+344
−141
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5c67ba6
Continue parser after trailing type argument attribute
estebank fc4b541
Continue parsing after lifetime in incorrect location
estebank d8610b3
Continue evaluating after parsing incorrect binary literal
estebank 5d2f31c
Continue evaluating after missing `for` in `impl Trait for Foo`
estebank 57f17e9
Continue evaluating after type argument in where clause
estebank 65a8d7b
fix tests
estebank 8bede50
Continue evaluating after incorrect float literal
estebank 975f8b5
fix test
estebank 8119017
Continue evaluating after finding incorrect .. in pattern
estebank de3c4be
Tweak type argument after assoc type error
estebank 7feb802
Small tweaks to parser errors
estebank 3ead6de
Tweak incorrect discriminator value variant error
estebank 1550787
Add label for invalid literal suffix
estebank db74031
Remove unrelated errors from parse stderr tests
estebank 28ea03e
Suggest correct location for lifetime parameters in use
estebank File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/test/ui/attrs-with-no-formal-in-generics/attrs-with-no-formal-in-generics-3.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
error: trailing attribute after lifetime parameters | ||
--> $DIR/attrs-with-no-formal-in-generics-3.rs:8:38 | ||
--> $DIR/attrs-with-no-formal-in-generics-3.rs:8:44 | ||
| | ||
LL | where Q: for <#[rustc_1] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32 | ||
| ^^^^^^^ | ||
LL | where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32 | ||
| ^^^^^^^ attributes must go before parameters | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
fn foo(_: *()) { | ||
//~^ expected mut or const in raw pointer type (use `*mut T` or `*const T` as appropriate) | ||
//~^ ERROR expected mut or const in raw pointer type | ||
} | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
error: expected mut or const in raw pointer type (use `*mut T` or `*const T` as appropriate) | ||
error: expected mut or const in raw pointer type | ||
--> $DIR/bad-pointer-type.rs:1:11 | ||
| | ||
LL | fn foo(_: *()) { | ||
| ^ | ||
| ^ expected mut or const in raw pointer type | ||
| | ||
= help: use `*mut T` or `*const T` as appropriate | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
fn main() { | ||
(0..4) | ||
.map(|x| x * 2) | ||
.collect::<Vec<'a, usize, 'b>>() | ||
//~^ ERROR lifetime parameters must be declared prior to type parameters | ||
// can't run rustfix because it doesn't handle multipart suggestions correctly | ||
// compile-flags: -Zborrowck=mir | ||
// we need the above to avoid ast borrowck failure in recovered code | ||
|
||
struct S<'a, T> { | ||
a: &'a T, | ||
b: &'a T, | ||
} | ||
|
||
fn foo<'a, 'b>(start: &'a usize, end: &'a usize) { | ||
let _x = (*start..*end) | ||
.map(|x| S { a: start, b: end }) | ||
.collect::<Vec<S<_, 'a>>>(); | ||
//~^ ERROR lifetime parameters must be declared prior to type parameters | ||
} | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
error: lifetime parameters must be declared prior to type parameters | ||
--> $DIR/issue-14303-fncall.rs:4:31 | ||
--> $DIR/issue-14303-fncall.rs:13:29 | ||
| | ||
LL | .collect::<Vec<'a, usize, 'b>>() | ||
| ^^ | ||
LL | .collect::<Vec<S<_, 'a>>>(); | ||
| ^^ must be declared prior to type parameters | ||
help: move the lifetime parameter prior to the first type parameter | ||
| | ||
LL | .collect::<Vec<S<'a, _>>>(); | ||
| ^^^ -- | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} | ||
mod foo { | ||
pub struct X<'a, 'b, 'c, T> { | ||
a: &'a str, | ||
b: &'b str, | ||
c: &'c str, | ||
t: T, | ||
} | ||
} | ||
|
||
fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {} | ||
//~^ ERROR lifetime parameters must be declared prior to type parameters | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
error: lifetime parameters must be declared prior to type parameters | ||
--> $DIR/issue-14303-path.rs:1:37 | ||
--> $DIR/issue-14303-path.rs:10:40 | ||
| | ||
LL | fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {} | ||
| ^^ | ||
LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, T, 'b, 'c>) {} | ||
| ^^ ^^ must be declared prior to type parameters | ||
| | | ||
| must be declared prior to type parameters | ||
help: move the lifetime parameters prior to the first type parameter | ||
| | ||
LL | fn bar<'a, 'b, 'c, T>(x: foo::X<'a, 'b, 'c, T>) {} | ||
| ^^^ ^^^ -- | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
enum X { | ||
A = | ||
b'a' //~ ERROR discriminator values can only be used with a field-less enum | ||
, | ||
B(isize) | ||
A = 3, | ||
//~^ ERROR discriminator values can only be used with a field-less enum | ||
B(usize) | ||
} | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
error: discriminator values can only be used with a field-less enum | ||
--> $DIR/issue-17383.rs:3:9 | ||
--> $DIR/issue-17383.rs:2:9 | ||
| | ||
LL | b'a' //~ ERROR discriminator values can only be used with a field-less enum | ||
| ^^^^ | ||
LL | A = 3, | ||
| ^ only valid in field-less enums | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
// error-pattern:no valid digits found for number | ||
fn log(a: i32, b: i32) {} | ||
|
||
fn main() { | ||
let error = 42; | ||
log(error, 0b); | ||
//~^ ERROR no valid digits found for number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
// error-pattern:no valid digits found for number | ||
fn log(a: i32, b: i32) {} | ||
|
||
fn main() { | ||
log(error, 0b_usize); | ||
let error = 42; | ||
log(error, 0b); | ||
//~^ ERROR no valid digits found for number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
error: no valid digits found for number | ||
--> $DIR/issue-1802-2.rs:3:16 | ||
--> $DIR/issue-1802-2.rs:5:16 | ||
| | ||
LL | log(error, 0b_usize); | ||
| ^^^ | ||
LL | log(error, 0b); | ||
| ^^ | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
impl A .. {} //~ ERROR | ||
trait A {} | ||
|
||
impl A .. {} | ||
//~^ ERROR missing `for` in a trait impl | ||
//~| ERROR `impl Trait for .. {}` is an obsolete syntax | ||
|
||
impl A usize {} | ||
//~^ ERROR missing `for` in a trait impl | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
error: missing `for` in a trait impl | ||
--> $DIR/issue-27255.rs:1:7 | ||
--> $DIR/issue-27255.rs:3:7 | ||
| | ||
LL | impl A .. {} //~ ERROR | ||
| ^ | ||
LL | impl A .. {} | ||
| ^ help: add `for` here | ||
|
||
error: aborting due to previous error | ||
error: missing `for` in a trait impl | ||
--> $DIR/issue-27255.rs:7:7 | ||
| | ||
LL | impl A usize {} | ||
| ^^^^^^ help: add `for` here | ||
|
||
error: `impl Trait for .. {}` is an obsolete syntax | ||
--> $DIR/issue-27255.rs:3:1 | ||
| | ||
LL | impl A .. {} | ||
| ^^^^^^^^^^^^ | ||
| | ||
= help: use `auto trait Trait {}` instead | ||
|
||
error: aborting due to 3 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// error-pattern:binary float literal is not supported | ||
|
||
fn main() { | ||
0b101010f64; | ||
//~^ ERROR binary float literal is not supported | ||
0b101.010; | ||
//~^ ERROR binary float literal is not supported | ||
0b101p4f64; | ||
//~^ ERROR invalid suffix `p4f64` for numeric literal | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
error: binary float literal is not supported | ||
--> $DIR/no-binary-float-literal.rs:5:5 | ||
--> $DIR/no-binary-float-literal.rs:4:5 | ||
| | ||
LL | 0b101.010; | ||
| ^^^^^^^^^ | ||
|
||
error: aborting due to previous error | ||
error: binary float literal is not supported | ||
--> $DIR/no-binary-float-literal.rs:2:5 | ||
| | ||
LL | 0b101010f64; | ||
| ^^^^^^^^^^^ not supported | ||
|
||
error: invalid suffix `p4f64` for numeric literal | ||
--> $DIR/no-binary-float-literal.rs:6:5 | ||
| | ||
LL | 0b101p4f64; | ||
| ^^^^^^^^^^ invalid suffix `p4f64` | ||
| | ||
= help: the suffix must be one of the integral types (`u32`, `isize`, etc) | ||
|
||
error: aborting due to 3 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
// error-pattern:hexadecimal float literal is not supported | ||
|
||
fn main() { | ||
0xABC.Df; | ||
//~^ ERROR `{integer}` is a primitive type and therefore doesn't have fields | ||
0x567.89; | ||
//~^ ERROR hexadecimal float literal is not supported | ||
0xDEAD.BEEFp-2f; | ||
//~^ ERROR invalid suffix `f` for float literal | ||
//~| ERROR `{integer}` is a primitive type and therefore doesn't have fields | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
error: hexadecimal float literal is not supported | ||
--> $DIR/no-hex-float-literal.rs:5:5 | ||
--> $DIR/no-hex-float-literal.rs:4:5 | ||
| | ||
LL | 0x567.89; | ||
| ^^^^^^^^ | ||
|
||
error: aborting due to previous error | ||
error: invalid suffix `f` for float literal | ||
--> $DIR/no-hex-float-literal.rs:6:18 | ||
| | ||
LL | 0xDEAD.BEEFp-2f; | ||
| ^^ invalid suffix `f` | ||
| | ||
= help: valid suffixes are `f32` and `f64` | ||
|
||
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields | ||
--> $DIR/no-hex-float-literal.rs:2:11 | ||
| | ||
LL | 0xABC.Df; | ||
| ^^ | ||
|
||
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields | ||
--> $DIR/no-hex-float-literal.rs:6:12 | ||
| | ||
LL | 0xDEAD.BEEFp-2f; | ||
| ^^^^^ | ||
|
||
error: aborting due to 4 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0610`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
fn main() { | ||
match 0 { | ||
(pat, ..,) => {} //~ ERROR trailing comma is not permitted after `..` | ||
match (0, 1, 2) { | ||
(pat, ..,) => {} | ||
//~^ ERROR trailing comma is not permitted after `..` | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
error: trailing comma is not permitted after `..` | ||
--> $DIR/pat-tuple-2.rs:3:17 | ||
| | ||
LL | (pat, ..,) => {} //~ ERROR trailing comma is not permitted after `..` | ||
| ^ | ||
LL | (pat, ..,) => {} | ||
| ^ trailing comma is not permitted after `..` | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
fn main() { | ||
match 0 { | ||
(.., pat, ..) => {} //~ ERROR `..` can only be used once per tuple or tuple struct pattern | ||
match (0, 1, 2) { | ||
(.., pat, ..) => {} | ||
//~^ ERROR `..` can only be used once per tuple or tuple struct pattern | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
error: `..` can only be used once per tuple or tuple struct pattern | ||
--> $DIR/pat-tuple-3.rs:3:19 | ||
| | ||
LL | (.., pat, ..) => {} //~ ERROR `..` can only be used once per tuple or tuple struct pattern | ||
| ^^ | ||
LL | (.., pat, ..) => {} | ||
| ^^ can only be used once per pattern | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
//error-pattern: discriminator values can only be used with a field-less enum | ||
|
||
enum color { | ||
red = 0xff0000, | ||
green = 0x00ff00, | ||
blue = 0x0000ff, | ||
black = 0x000000, | ||
white = 0xffffff, | ||
other (str), | ||
enum Color { | ||
Red = 0xff0000, | ||
//~^ ERROR discriminator values can only be used with a field-less enum | ||
Green = 0x00ff00, | ||
Blue = 0x0000ff, | ||
Black = 0x000000, | ||
White = 0xffffff, | ||
Other(usize), | ||
} | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
error: discriminator values can only be used with a field-less enum | ||
--> $DIR/tag-variant-disr-non-nullary.rs:8:13 | ||
--> $DIR/tag-variant-disr-non-nullary.rs:2:11 | ||
| | ||
LL | white = 0xffffff, | ||
| ^^^^^^^^ | ||
LL | Red = 0xff0000, | ||
| ^^^^^^^^ only valid in field-less enums | ||
LL | //~^ ERROR discriminator values can only be used with a field-less enum | ||
LL | Green = 0x00ff00, | ||
| ^^^^^^^^ only valid in field-less enums | ||
LL | Blue = 0x0000ff, | ||
| ^^^^^^^^ only valid in field-less enums | ||
LL | Black = 0x000000, | ||
| ^^^^^^^^ only valid in field-less enums | ||
LL | White = 0xffffff, | ||
| ^^^^^^^^ only valid in field-less enums | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
fn foo<T>() where <T>::Item: ToString, T: Iterator { } | ||
//~^ ERROR generic parameters on `where` clauses are reserved for future use | ||
//~| ERROR cannot find type `Item` in the crate root | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.