Skip to content

Commit 286bdeb

Browse files
committed
[NFC][Copyable] Update an expected error to a warning.
1 parent 5eb16ad commit 286bdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Parse/inverses.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct Burrito<Filling: ~Copyable>: ~Copyable {}
138138
extension Burrito: Alias {} // expected-error {{conformance to 'Copyable' must be declared in a separate extension}}
139139
// expected-note@-1 {{'Burrito<Filling>' declares conformance to protocol 'Copyable' here}}
140140

141-
extension Burrito: Copyable & Edible & P {} // expected-error {{redundant conformance of 'Burrito<Filling>' to protocol 'Copyable'}}
141+
extension Burrito: Copyable & Edible & P {} // expected-warning {{redundant conformance of 'Burrito<Filling>' to protocol 'Copyable'}}
142142

143143
struct Blah<T: ~Copyable>: ~Copyable {}
144144
extension Blah: P, Q, Copyable, R {} // expected-error {{generic struct 'Blah' required to be 'Copyable' but is marked with '~Copyable'}}

0 commit comments

Comments
 (0)