Skip to content
Playground(another site)

bynk.stability.experimental

Error An experimental standard-library item is used without an [unstable] allow entry in bynk.toml covering it.

Some standard-library items are experimental: they may change or disappear in any release, and the compatibility promise does not cover them. Using one is an error until the project opts in, so that relying on it is a choice someone made and can find. Add the item's path, as the error gives it, to allow under [unstable] in bynk.toml, or avoid the item. An entry that names no standard-library item is bynk.project.unstable_unknown_item.

Example

demo.bynk
consumes bynk.cloudflare { Version } // ✗ experimental
// bynk.toml
[unstable]
allow = ["bynk.cloudflare.Version"] // ✓

In the Book

See also

  • Every code in its category, Stability, on the diagnostic index.
  • bynk explain bynk.stability.experimental shows the same from the installed toolchain, without a network.