We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
throws
__requiringUnsafe()
1 parent 192dc75 commit d62261fCopy full SHA for d62261f
Sources/Testing/Test+Macro.swift
@@ -556,7 +556,7 @@ extension Test {
556
///
557
/// - Warning: This function is used to implement the `@Test` macro. Do not use
558
/// it directly.
559
-@unsafe @inlinable public func __requiringUnsafe<T>(_ value: consuming T) throws -> T where T: ~Copyable {
+@unsafe @inlinable public func __requiringUnsafe<T>(_ value: consuming T) -> T where T: ~Copyable {
560
value
561
}
562
0 commit comments