Skip to content

Commit f1d6e00

Browse files
Bless UI tests
1 parent 97b2292 commit f1d6e00

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

tests/ui/explicit-tail-calls/callee_is_weird.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ error: tail calls can only be performed with function definitions or pointers
1212
LL | become (&mut &std::sync::Exclusive::new(f))()
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414
|
15-
= note: callee has type `Exclusive<fn() {f}>`
15+
= note: callee has type `&Exclusive<fn() {f}>`
1616

1717
error: tail calls can only be performed with function definitions or pointers
1818
--> $DIR/callee_is_weird.rs:22:12

tests/ui/impl-trait/where-allowed.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ LL | fn in_impl_Fn_return_in_return() -> &'static impl Fn() -> impl Debug { pani
387387
where A: Tuple, F: Fn<A>, F: ?Sized;
388388
- impl<Args, F, A> Fn<Args> for Box<F, A>
389389
where Args: Tuple, F: Fn<Args>, A: Allocator, F: ?Sized;
390+
- impl<F, Args> Fn<Args> for Exclusive<F>
391+
where F: Sync, F: Fn<Args>, Args: Tuple;
390392

391393
error[E0118]: no nominal type found for inherent implementation
392394
--> $DIR/where-allowed.rs:240:1

tests/ui/traits/next-solver/well-formed-in-relate.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ LL | x = unconstrained_map();
1212
where A: Tuple, F: Fn<A>, F: ?Sized;
1313
- impl<Args, F, A> Fn<Args> for Box<F, A>
1414
where Args: Tuple, F: Fn<Args>, A: Allocator, F: ?Sized;
15+
- impl<F, Args> Fn<Args> for Exclusive<F>
16+
where F: Sync, F: Fn<Args>, Args: Tuple;
1517
note: required by a bound in `unconstrained_map`
1618
--> $DIR/well-formed-in-relate.rs:21:25
1719
|

0 commit comments

Comments
 (0)