]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/return-cycle-2.stderr
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / suggestions / return-cycle-2.stderr
1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
2   --> $DIR/return-cycle-2.rs:6:34
3    |
4 LL |     fn as_ref(_: i32, _: i32) -> _ {
5    |                                  ^
6    |                                  |
7    |                                  not allowed in type signatures
8    |                                  help: replace with the correct return type: `Token<&'static T>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0121`.