-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Bugfix/rfc 2451 rerebalance tests #64546
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
Merged
bors
merged 8 commits into
rust-lang:master
from
weiznich:bugfix/rfc-2451-rerebalance-tests
Sep 29, 2019
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
612ef5f
add new tests for re_rebalance_coherence
nikomatsakis e69d1b6
change to check-pass
nikomatsakis 3f004a1
Fix re-rebalance coherence implementation for fundamental types
weiznich a9c38d9
Add more tests
weiznich 31b3012
Split line to fix tidy
weiznich 3ee2920
Fix some unused variable warnings
weiznich 2666ae5
Remove whitespace from testname
weiznich 9249a73
More path name fixes
weiznich 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 hidden or 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
16 changes: 16 additions & 0 deletions
16
src/test/ui/coherence/impl-foreign[foreign]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl Remote1<u32> for f64 { | ||
//~^ ERROR only traits defined in the current crate can be implemented for arbitrary types [E0117] | ||
} | ||
|
||
fn main() {} |
12 changes: 12 additions & 0 deletions
12
src/test/ui/coherence/impl-foreign[foreign]-for-foreign.stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
error[E0117]: only traits defined in the current crate can be implemented for arbitrary types | ||
--> $DIR/impl-foreign[foreign]-for-foreign.rs:12:1 | ||
| | ||
LL | impl Remote1<u32> for f64 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate | ||
| | ||
= note: the impl does not reference only types defined in this crate | ||
= note: define and implement a trait or new type instead | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0117`. |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
// check-pass | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl Remote1<u32> for Local { | ||
} | ||
|
||
fn main() {} |
14 changes: 14 additions & 0 deletions
14
src/test/ui/coherence/impl[t]-foreign[foreign[t],local]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// check-pass | ||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
impl<T> Remote2<Rc<T>, Local> for usize { } | ||
|
||
fn main() {} |
20 changes: 20 additions & 0 deletions
20
src/test/ui/coherence/impl[t]-foreign[foreign]-for-fundamental[t].rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<u32> for Box<T> { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
impl<'a, T> Remote1<u32> for &'a T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[foreign]-for-fundamental[t].stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[foreign]-for-fundamental[t].rs:12:1 | ||
| | ||
LL | impl<T> Remote1<u32> for Box<T> { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[foreign]-for-fundamental[t].rs:16:1 | ||
| | ||
LL | impl<'a, T> Remote1<u32> for &'a T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<u32> for T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
11 changes: 11 additions & 0 deletions
11
src/test/ui/coherence/impl[t]-foreign[foreign]-for-t.stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[foreign]-for-t.rs:12:1 | ||
| | ||
LL | impl<T> Remote1<u32> for T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
20 changes: 20 additions & 0 deletions
20
src/test/ui/coherence/impl[t]-foreign[fundamental[t],local]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote2<Box<T>, Local> for u32 { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
impl<'a, T> Remote2<&'a T, Local> for u32 { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t],local]-for-foreign.stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t],local]-for-foreign.rs:12:1 | ||
| | ||
LL | impl<T> Remote2<Box<T>, Local> for u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t],local]-for-foreign.rs:16:1 | ||
| | ||
LL | impl<'a, T> Remote2<&'a T, Local> for u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
20 changes: 20 additions & 0 deletions
20
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<Box<T>> for u32 { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
impl<'a, T> Remote1<&'a T> for u32 { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-foreign.stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-foreign.rs:12:1 | ||
| | ||
LL | impl<T> Remote1<Box<T>> for u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-foreign.rs:16:1 | ||
| | ||
LL | impl<'a, T> Remote1<&'a T> for u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<'a, T> Remote1<Box<T>> for &'a T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
impl<'a, T> Remote1<&'a T> for Box<T> { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-fundamental[t].stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs:12:1 | ||
| | ||
LL | impl<'a, T> Remote1<Box<T>> for &'a T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs:15:1 | ||
| | ||
LL | impl<'a, T> Remote1<&'a T> for Box<T> { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
17 changes: 17 additions & 0 deletions
17
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-local.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
// check-pass | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<Box<T>> for Local {} | ||
|
||
impl<'a, T> Remote1<&'a T> for Local {} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-t.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<Box<T>> for T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
impl<'a, T> Remote1<&'a T> for T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[fundamental[t]]-for-t.stderr
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-t.rs:12:1 | ||
| | ||
LL | impl<T> Remote1<Box<T>> for T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) | ||
--> $DIR/impl[t]-foreign[fundamental[t]]-for-t.rs:15:1 | ||
| | ||
LL | impl<'a, T> Remote1<&'a T> for T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type | ||
| | ||
= note: only traits defined in the current crate can be implemented for a type parameter | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0210`. |
19 changes: 19 additions & 0 deletions
19
src/test/ui/coherence/impl[t]-foreign[local, fundamental[t]]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
// check-pass | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
struct Local2<T>(Rc<T>); | ||
|
||
impl<T> Remote2<Local, Box<T>> for u32 {} | ||
impl<'a, T> Remote2<Local, &'a T> for u32 {} | ||
impl<T> Remote2<Local2<T>, Box<T>> for u32 {} | ||
impl<'a, T> Remote2<Local2<T>, &'a T> for u32 {} | ||
|
||
fn main() {} |
16 changes: 16 additions & 0 deletions
16
src/test/ui/coherence/impl[t]-foreign[local]-for-foreign.rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
// check-pass | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<Local> for Rc<T> {} | ||
impl<T> Remote1<Local> for Vec<Box<T>> {} | ||
|
||
fn main() {} |
20 changes: 20 additions & 0 deletions
20
src/test/ui/coherence/impl[t]-foreign[local]-for-fundamental[t].rs
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#![feature(re_rebalance_coherence)] | ||
|
||
// compile-flags:--crate-name=test | ||
// aux-build:coherence_lib.rs | ||
|
||
extern crate coherence_lib as lib; | ||
use lib::*; | ||
use std::rc::Rc; | ||
|
||
struct Local; | ||
|
||
impl<T> Remote1<Local> for Box<T> { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
impl<T> Remote1<Local> for &T { | ||
//~^ ERROR type parameter `T` must be used as the type parameter for some local type | ||
} | ||
|
||
fn main() {} |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.