Bless UI tests

This commit is contained in:
Jules Bertholet 2025-09-21 17:26:39 -04:00
parent 97b2292b06
commit f1d6e000b5
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC
3 changed files with 5 additions and 1 deletions

View file

@ -12,7 +12,7 @@ error: tail calls can only be performed with function definitions or pointers
LL | become (&mut &std::sync::Exclusive::new(f))()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: callee has type `Exclusive<fn() {f}>`
= note: callee has type `&Exclusive<fn() {f}>`
error: tail calls can only be performed with function definitions or pointers
--> $DIR/callee_is_weird.rs:22:12

View file

@ -387,6 +387,8 @@ LL | fn in_impl_Fn_return_in_return() -> &'static impl Fn() -> impl Debug { pani
where A: Tuple, F: Fn<A>, F: ?Sized;
- impl<Args, F, A> Fn<Args> for Box<F, A>
where Args: Tuple, F: Fn<Args>, A: Allocator, F: ?Sized;
- impl<F, Args> Fn<Args> for Exclusive<F>
where F: Sync, F: Fn<Args>, Args: Tuple;
error[E0118]: no nominal type found for inherent implementation
--> $DIR/where-allowed.rs:240:1

View file

@ -12,6 +12,8 @@ LL | x = unconstrained_map();
where A: Tuple, F: Fn<A>, F: ?Sized;
- impl<Args, F, A> Fn<Args> for Box<F, A>
where Args: Tuple, F: Fn<Args>, A: Allocator, F: ?Sized;
- impl<F, Args> Fn<Args> for Exclusive<F>
where F: Sync, F: Fn<Args>, Args: Tuple;
note: required by a bound in `unconstrained_map`
--> $DIR/well-formed-in-relate.rs:21:25
|