mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
These changes involve the error messages produced in `check_attribute_stability`, plus some related ones. The basic idea: - Use "the `foo` attribute" in `error` lines as much as possible, where `foo` is the attribute's path. - Point carets at just the attribute's path, to match the `error` line.
4 lines
154 B
Rust
4 lines
154 B
Rust
#[patchable_function_entry(prefix_nops = 1, entry_nops = 1)]
|
|
//~^ ERROR: the `patchable_function_entry` attribute is an experimental feature
|
|
fn main() {}
|