File tree 1 file changed +4
-4
lines changed
crates/ty_python_semantic/resources/mdtest/diagnostics
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:
212
212
213
213
``` py
214
214
def func ():
215
- # error: [invalid-syntax] "can't use starred expression here"
215
+ # error: [invalid-syntax] "Starred expression cannot be used here"
216
216
return * [1 , 2 , 3 ]
217
217
218
218
def gen ():
219
- # error: [invalid-syntax] "can't use starred expression here"
219
+ # error: [invalid-syntax] "Starred expression cannot be used here"
220
220
yield * [1 , 2 , 3 ]
221
221
222
- # error: [invalid-syntax] "can't use starred expression here"
222
+ # error: [invalid-syntax] "Starred expression cannot be used here"
223
223
for * x in range (10 ):
224
224
pass
225
225
226
- # error: [invalid-syntax] "can't use starred expression here"
226
+ # error: [invalid-syntax] "Starred expression cannot be used here"
227
227
for x in * range (10 ):
228
228
pass
229
229
```
You can’t perform that action at this time.
0 commit comments