Skip to content

Commit

Permalink
Fix UI test for Rust 1.76.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Feb 25, 2024
1 parent 88a2dc4 commit c93ed19
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test_suite/tests/ui/float/visibility/private.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the struct `Percentage` which is defined here
--> tests/ui/float/visibility/private.rs:4:5
|
4 | #[nutype(sanitize(with = |n| n.clamp(0.0, 100.0)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion test_suite/tests/ui/float/visibility/private_error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the enum `PercentageError` which is defined here
--> tests/ui/float/visibility/private_error.rs:4:5
|
4 | #[nutype(validate(greater_or_equal = 0.0, less_or_equal = 100.0))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion test_suite/tests/ui/integer/visibility/private.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the struct `Percentage` which is defined here
--> tests/ui/integer/visibility/private.rs:4:5
|
4 | #[nutype(sanitize(with = |n: i32| n.clamp(0, 100)))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the enum `PercentageError` which is defined here
--> tests/ui/integer/visibility/private_error.rs:4:5
|
4 | #[nutype(validate(greater_or_equal = 0, less_or_equal = 100))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion test_suite/tests/ui/string/visibility/private.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the struct `Email` which is defined here
--> tests/ui/string/visibility/private.rs:4:5
|
4 | #[nutype(sanitize(trim))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion test_suite/tests/ui/string/visibility/private_error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ note: ...and refers to the enum `NameError` which is defined here
--> tests/ui/string/visibility/private_error.rs:4:5
|
4 | #[nutype(validate(not_empty))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly
= note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)

0 comments on commit c93ed19

Please sign in to comment.