14 files declare their use of TrustedCallback

BigPipeMessagesHooks.php in core/modules/big_pipe/tests/modules/big_pipe_messages_test/src/Hook/BigPipeMessagesHooks.php
DoTrustedCallbackTrait.php in core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php
DoTrustedCallbackTraitTest.php in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
ExtendingNonInstalledClass.php in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php
ExtraFieldBlock.php in core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
FormStatePersistTest.php in core/modules/system/tests/src/Kernel/Form/FormStatePersistTest.php
LayoutBuilder.php in core/modules/layout_builder/src/Element/LayoutBuilder.php
LazyBuilderPlaceholderTest.php in core/tests/Drupal/KernelTests/Core/Render/LazyBuilderPlaceholderTest.php
NavigationRenderer.php in core/modules/navigation/src/NavigationRenderer.php
NavigationUserBlock.php in core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php
RenderCallbacks.php in core/modules/navigation/src/RenderCallbacks.php
ShortcutLazyBuilder.php in core/modules/navigation/src/ShortcutLazyBuilder.php
UsingNonInstalledTraitClass.php in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php
WorkspacesLazyBuilder.php in core/modules/navigation/src/WorkspacesLazyBuilder.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.