Skip to content

Commit d85797b

Browse files
committed
Revert "[NFC][Copyable] Update an expected error to a warning."
This reverts commit 286bdeb.
1 parent 08af019 commit d85797b

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
@@ -142,7 +142,7 @@ struct Burrito<Filling: ~Copyable>: ~Copyable {}
142142
extension Burrito: Alias {} // expected-error {{conformance to 'Copyable' must be declared in a separate extension}}
143143
// expected-note@-1 {{'Burrito<Filling>' declares conformance to protocol 'Copyable' here}}
144144

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

147147
struct Blah<T: ~Copyable>: ~Copyable {}
148148
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)