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.
1 parent 6cc1a8d commit c65016dCopy full SHA for c65016d
test/Sema/lifetime_depend_nofeature.swift
@@ -45,3 +45,7 @@ extension MutableSpan {
45
mutating func mutatingNEInout(span: inout RawSpan) {} // expected-error{{a mutating method cannot have a ~Escapable 'self'}}
46
// expected-error@-1{{a mutating method cannot have a ~Escapable 'inout' parameter 'span'}}
47
}
48
+
49
+extension Span {
50
+ mutating func mutate() {} // expected-error{{a mutating method cannot have a ~Escapable 'self'}}
51
+}
0 commit comments