fn extract_wasm_only_note(attr: &Attribute) -> Result<Option<String>, Error>
Extracts the optional note from #[wasm_only(note = "custom note")]. Returns None for plain #[wasm_only], or Err for unknown attributes.
#[wasm_only(note = "custom note")]
None
#[wasm_only]
Err