`dyn FnOnce` should always be `Sync`

Why should dyn FnOnce specifically have this magic? For another example dyn Future also has no &self operations available.

Instead of using any magic you can do this using user code trivially, see SyncWrapper which can generically allow passing non-Sync data around as Sync by blocking all &self access.

6 Likes