rust/tests/ui/diagnostic-flags/terminal_urls.rs
Esteban Küber a576514e13 Introduce -Zterminal-urls to use OSC8 for error codes
Terminals supporting the OSC8 Hyperlink Extension can support inline
anchors where the text is user defineable but clicking on it opens a
browser to a specified URLs, just like `<a href="URL">` does in HTML.

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
2023-02-09 14:52:54 +00:00

5 lines
78 B
Rust

// compile-flags: -Zterminal-urls=yes
fn main() {
let () = 4; //~ ERROR
}