Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature已稳定 #3

Closed
xuxiaocheng0201 opened this issue Feb 29, 2024 · 1 comment
Closed

feature已稳定 #3

xuxiaocheng0201 opened this issue Feb 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@xuxiaocheng0201
Copy link

在rustc 1.75.0上已经不需要使用 #![feature(return_position_impl_trait_in_trait)] 属性,目前rustc已更新到1.76.0。

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> D:\AppData\Languages\Cargo\registry\src\index.crates.io-6f17d22bba15001f\ib-pinyin-0.2.3\src\lib.rs:1:1
  |
1 | #![feature(return_position_impl_trait_in_trait)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
  |
  = help: the feature `return_position_impl_trait_in_trait` has been stable since `1.75.0` and no longer requires an attribute to enable

For more information about this error, try `rustc --explain E0554`.

这导致在新版本的rustc上无法编译

@Chaoses-Ib Chaoses-Ib added the bug Something isn't working label Feb 29, 2024
@Chaoses-Ib
Copy link
Owner

谢谢,平常一直用的是 nightly,忘了 stable 不能用 unstable feature 了。v0.2.4 已修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants