W3cubDocs

/Rust

Error code E0734

A stability attribute has been used outside of the standard library.

Erroneous code example:

#![allow(unused)]
fn main() {
#[stable(feature = "a", since = "b")] // invalid
#[unstable(feature = "b", issue = "none")] // invalid
fn foo(){}
}

These attributes are meant to only be used by the standard library and are rejected in your own crates.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0734.html