File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
crates/ty_python_semantic/resources/mdtest/diagnostics Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,18 +212,18 @@ Star expressions can't be used in certain contexts:
212212
213213``` py
214214def func ():
215- # error: [invalid-syntax] "can't use starred expression here"
215+ # error: [invalid-syntax] "Starred expression cannot be used here"
216216 return * [1 , 2 , 3 ]
217217
218218def gen ():
219- # error: [invalid-syntax] "can't use starred expression here"
219+ # error: [invalid-syntax] "Starred expression cannot be used here"
220220 yield * [1 , 2 , 3 ]
221221
222- # error: [invalid-syntax] "can't use starred expression here"
222+ # error: [invalid-syntax] "Starred expression cannot be used here"
223223for * x in range (10 ):
224224 pass
225225
226- # error: [invalid-syntax] "can't use starred expression here"
226+ # error: [invalid-syntax] "Starred expression cannot be used here"
227227for x in * range (10 ):
228228 pass
229229```
You can’t perform that action at this time.
0 commit comments