mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
test: Add empty line to tests getting new flag in next commit
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:7:237
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:8:237
|
||||
|
|
||||
LL | ...👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
||||
| -------------- ^ -------------- &str
|
||||
@@ -14,7 +14,7 @@ LL | let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧
|
||||
| +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:9:384
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:10:384
|
||||
|
|
||||
LL | ...👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
||||
| -------------- ^ -------------- &str
|
||||
@@ -29,7 +29,7 @@ LL | let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧
|
||||
| +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:11:260
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:12:260
|
||||
|
|
||||
LL | ...࿇࿈࿉࿊࿋࿌࿎࿏࿐࿑࿒࿓࿔࿕࿖࿗࿘࿙࿚"; let _a = unicode_is_fun + " really fun!";
|
||||
| -------------- ^ -------------- &str
|
||||
@@ -44,7 +44,7 @@ LL | let _ = "ༀ༁༂༃༄༅༆༇༈༉༊་༌།༎༏༐༑༒༓
|
||||
| +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:13:219
|
||||
--> $DIR/non-1-width-unicode-multiline-label.rs:14:219
|
||||
|
|
||||
LL | ...xxxxxxxxxxxxxxxxxxxx"; let _a = unicode_is_fun + " really fun!";
|
||||
| -------------- ^ -------------- &str
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//@ revisions: ascii unicode
|
||||
|
||||
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
|
||||
// ignore-tidy-linelength
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:7:237
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:8:237
|
||||
│
|
||||
LL │ …👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
||||
│ ┬───────────── ┯ ────────────── &str
|
||||
@@ -14,7 +14,7 @@ LL │ let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧
|
||||
╰╴ +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:9:384
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:10:384
|
||||
│
|
||||
LL │ …👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
||||
│ ┬───────────── ┯ ────────────── &str
|
||||
@@ -29,7 +29,7 @@ LL │ let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧
|
||||
╰╴ +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:11:260
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:12:260
|
||||
│
|
||||
LL │ …࿅࿆࿇࿈࿉࿊࿋࿌࿎࿏࿐࿑࿒࿓࿔࿕࿖࿗࿘࿙࿚"; let _a = unicode_is_fun + " really fun!";
|
||||
│ ┬───────────── ┯ ────────────── &str
|
||||
@@ -44,7 +44,7 @@ LL │ let _ = "ༀ༁༂༃༄༅༆༇༈༉༊་༌།༎༏༐༑༒༓
|
||||
╰╴ +++++++++++
|
||||
|
||||
error[E0369]: cannot add `&str` to `&str`
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:13:219
|
||||
╭▸ $DIR/non-1-width-unicode-multiline-label.rs:14:219
|
||||
│
|
||||
LL │ …xxxxxxxxxxxxxxxxxxxxxx"; let _a = unicode_is_fun + " really fun!";
|
||||
│ ┬───────────── ┯ ────────────── &str
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/non-whitespace-trimming-2.rs:6:311
|
||||
--> $DIR/non-whitespace-trimming-2.rs:7:311
|
||||
|
|
||||
LL | ...13; let _: usize = 14; let _: usize = 15; let _: () = 42; let _: usize = 0; let _: usize = 1; let _: usize = 2; let _: usize = 3; let ...
|
||||
| -- ^^ expected `()`, found integer
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//@ revisions: ascii unicode
|
||||
|
||||
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
|
||||
// ignore-tidy-linelength
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error[E0308]: mismatched types
|
||||
╭▸ $DIR/non-whitespace-trimming-2.rs:6:311
|
||||
╭▸ $DIR/non-whitespace-trimming-2.rs:7:311
|
||||
│
|
||||
LL │ …= 13; let _: usize = 14; let _: usize = 15; let _: () = 42; let _: usize = 0; let _: usize = 1; let _: usize = 2; let _: usize = 3; let _:…
|
||||
│ ┬─ ━━ expected `()`, found integer
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
// ignore-tidy-linelength
|
||||
|
||||
fn main() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/non-whitespace-trimming-unicode.rs:4:415
|
||||
--> $DIR/non-whitespace-trimming-unicode.rs:5:415
|
||||
|
|
||||
LL | ...♣♤♥♦♧♨♩♪♫♬♭♮♯♰♱♲♳♴♵♶♷♸♹♺♻♼♽♾♿⚀⚁⚂⚃⚄⚅⚆⚈⚉4"; let _: () = 42; let _: &str = "🦀☀☁☂☃☄★☆☇☈☉☊☋☌☍☎☏☐☑☒☓ ☖☗☘☙☚☛☜☝☞☟☠☡☢☣☤☥☦☧☨☩☪☫☬☭☮☯☰☱☲☳☴☵☶☷☸☹☺☻☼☽ ...
|
||||
| -- ^^ expected `()`, found integer
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
// ignore-tidy-linelength
|
||||
|
||||
fn main() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error[E0308]: mismatched types
|
||||
--> $DIR/non-whitespace-trimming.rs:4:241
|
||||
--> $DIR/non-whitespace-trimming.rs:5:241
|
||||
|
|
||||
LL | ... () = (); let _: () = (); let _: () = (); let _: () = 42; let _: () = (); let _: () = (); let _: () = (); let _: () = (); let _: () = ...
|
||||
| -- ^^ expected `()`, found integer
|
||||
|
||||
Reference in New Issue
Block a user