commits
Reviewed-on: https://codeberg.org/Release-Candidate/token-string/pulls/1
doc_cfg is a unstable feature only available in nightly build. This
means using token-string under stable Rust will fail with
the following error
```
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /XXX/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/token-string-0.8.3/src/lib.rs:18:1
|
18 | #![feature(doc_cfg)]
| ^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain
E0554`.
```
doc_cfg was introduced in
https://codeberg.org/Release-Candidate/token-string/commit/760dbb56527c7a3d34a54a53cc4d9492b69d3958
for the pattern feature which is also a nighly-only feature. By guarding
doc_cfg with pattern, stable builds will ignore pattern and the use of
doc_cfg come with it.
doc_cfg is a unstable feature only available in nightly build. This
means using token-string under stable Rust will fail with
the following error
```
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /XXX/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/token-string-0.8.3/src/lib.rs:18:1
|
18 | #![feature(doc_cfg)]
| ^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain
E0554`.
```
doc_cfg was introduced in
https://codeberg.org/Release-Candidate/token-string/commit/760dbb56527c7a3d34a54a53cc4d9492b69d3958
for the pattern feature which is also a nighly-only feature. By guarding
doc_cfg with pattern, stable builds will ignore pattern and the use of
doc_cfg come with it.