mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Don't test json with color codes on windows
This commit is contained in:
parent
325936ac20
commit
5c6a43a58b
@ -1,4 +1,5 @@
|
||||
// ignore-cloudabi
|
||||
// ignore-windows
|
||||
// compile-flags: --error-format pretty-json -Zunstable-options --json-rendered=termcolor
|
||||
|
||||
// The output for humans should just highlight the whole span without showing
|
||||
|
@ -73,10 +73,10 @@ mod foo {
|
||||
"spans": [
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 466,
|
||||
"byte_end": 470,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"byte_start": 484,
|
||||
"byte_end": 488,
|
||||
"line_start": 12,
|
||||
"line_end": 12,
|
||||
"column_start": 12,
|
||||
"column_end": 16,
|
||||
"is_primary": true,
|
||||
@ -101,10 +101,10 @@ mod foo {
|
||||
"spans": [
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -124,10 +124,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -147,10 +147,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -170,10 +170,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -193,10 +193,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -216,10 +216,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -239,10 +239,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -262,10 +262,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -285,10 +285,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -308,10 +308,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -331,10 +331,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -354,10 +354,10 @@ mod foo {
|
||||
},
|
||||
{
|
||||
"file_name": "$DIR/use_suggestion_json.rs",
|
||||
"byte_start": 443,
|
||||
"byte_end": 443,
|
||||
"line_start": 10,
|
||||
"line_end": 10,
|
||||
"byte_start": 461,
|
||||
"byte_end": 461,
|
||||
"line_start": 11,
|
||||
"line_end": 11,
|
||||
"column_start": 1,
|
||||
"column_end": 1,
|
||||
"is_primary": true,
|
||||
@ -381,7 +381,7 @@ mod foo {
|
||||
}
|
||||
],
|
||||
"rendered": "\u001b[0m\u001b[1m\u001b[38;5;9merror[E0412]\u001b[0m\u001b[0m\u001b[1m: cannot find type `Iter` in this scope\u001b[0m
|
||||
\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m$DIR/use_suggestion_json.rs:11:12\u001b[0m
|
||||
\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m$DIR/use_suggestion_json.rs:12:12\u001b[0m
|
||||
\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m
|
||||
\u001b[0m\u001b[1m\u001b[38;5;12mLL\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m let x: Iter;\u001b[0m
|
||||
\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9mnot found in this scope\u001b[0m
|
||||
|
Loading…
Reference in New Issue
Block a user