Skip to content

Commit 5369efd

Browse files
committed
Update ui test suite to nightly-2021-08-12
1 parent 971082d commit 5369efd

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

tests/ui/array_len_suffix.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ error[E0308]: mismatched types
77
help: change the type of the numeric literal from `u16` to `usize`
88
|
99
4 | fn array() -> [String; 12usize];
10-
| ^^^^^^^
10+
| ~~~~~~~

tests/ui/expected_named.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ error[E0106]: missing lifetime specifier
88
help: consider using the `'static` lifetime
99
|
1010
5 | fn borrowed() -> UniquePtr<Borrowed<'static>>;
11-
| ^^^^^^^^^^^^^^^^^
11+
| ~~~~~~~~~~~~~~~~~

tests/ui/result_no_display.stderr

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
error[E0277]: `NonError` doesn't implement `std::fmt::Display`
2-
--> $DIR/result_no_display.rs:4:19
2+
--> $DIR/result_no_display.rs:1:1
33
|
4-
4 | fn f() -> Result<()>;
5-
| ^^^^^^^^^^ `NonError` cannot be formatted with the default formatter
4+
1 | #[cxx::bridge]
5+
| ^^^^^^^^^^^^^^ `NonError` cannot be formatted with the default formatter
66
|
77
= help: the trait `std::fmt::Display` is not implemented for `NonError`
88
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
9+
= note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui/unsupported_elided.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ error[E0106]: missing lifetime specifier
1616
help: consider introducing a named lifetime parameter
1717
|
1818
8 | fn f<'a>(t: &'a T) -> &'a str;
19-
| ^^^^ ^^^^^ ^^^
19+
| ++++ ~~~~~ ~~~

0 commit comments

Comments
 (0)