Skip to content

Commit 0aedf57

Browse files
committed
fix: file, line, column stablized since 1.88 not 1.89
1 parent 5bf8abe commit 0aedf57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/yew-macro/src/html_tree/html_element.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,12 @@ impl ToTokens for HtmlElement {
454454
}}
455455
});
456456

457-
#[rustversion::since(1.89)]
457+
#[rustversion::since(1.88)]
458458
fn derive_debug_tag(vtag: &Ident) -> String {
459459
let span = vtag.span().unwrap();
460460
format!("[{}:{}:{}] ", span.file(), span.line(), span.column())
461461
}
462-
#[rustversion::before(1.89)]
462+
#[rustversion::before(1.88)]
463463
fn derive_debug_tag(_: &Ident) -> &'static str {
464464
""
465465
}

0 commit comments

Comments
 (0)