mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
d0165956fe
for example: `fn invalid_path_separator::<T>() {}` fixes: #130791
15 lines
371 B
Plaintext
15 lines
371 B
Plaintext
error: invalid path separator in function definition
|
|
--> $DIR/invalid-path-sep-in-fn-definition-issue-130791.rs:4:26
|
|
|
|
|
LL | fn invalid_path_separator::<T>() {}
|
|
| ^^
|
|
|
|
|
help: remove invalid path separator
|
|
|
|
|
LL - fn invalid_path_separator::<T>() {}
|
|
LL + fn invalid_path_separator<T>() {}
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|