Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unicode renderer: Use vertical ellipsis rather than double-dagger#337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
joshtriplett wants to merge1 commit intorust-lang:master
base:master
Choose a base branch
Loading
fromjoshtriplett:ellipsis
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionexamples/expected_type.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletionexamples/struct_name_as_context.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletionsrc/renderer/render.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2229,7 +2229,7 @@ fn draw_note_separator(
fn draw_line_separator(renderer: &Renderer, buffer: &mut StyledBuffer, line: usize, col: usize) {
let (column, dots) = match renderer.decor_style {
DecorStyle::Ascii => (0, "..."),
DecorStyle::Unicode => (col - 2, ""),
DecorStyle::Unicode => (col - 2, ""),
};
buffer.puts(line, column, dots, ElementStyle::LineNumber);
}
Expand Down
2 changes: 1 addition & 1 deletiontests/color/fold_ann_multiline.unicode.term.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletiontests/color/highlight_source.unicode.term.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletiontests/color/issue_9.unicode.term.svg
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletionstests/formatter.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1700,7 +1700,7 @@ error[E0599]: no method named `pick` found for struct `Chaenomeles` in the curre
╭▸
LL │ pub struct Chaenomeles;
│ ────────────────────── method `pick` not found for this struct
LL │ banana::Chaenomeles.pick()
│ ━━━━ method not found in `Chaenomeles`
╰╴
Expand DownExpand Up@@ -2487,7 +2487,7 @@ LL │ ┏ Box::new(
LL │ ┃ Ok::<_, ()>(
LL │ ┃ Err::<(), _>(
LL │ ┃ Ok::<_, ()>(
LL │ ┃ )
│ ┗━━━━━┛ type mismatch resolving `<Result<Result<(), Result<Result<(), ...>, ...>>, ...> as Future>::Error == Foo`
╰╴
Expand DownExpand Up@@ -2600,7 +2600,7 @@ LL │ ┏ Box::new(
LL │ ┃ Ok::<_, ()>(
LL │ ┃ Err::<(), _>(
LL │ ┃ Ok::<_, ()>(
LL │ ┃ )
│ ┗━━━━━┛ type mismatch resolving `<Result<Result<(), Result<Result<(), ...>, ...>>, ...> as Future>::Error == Foo`
╰╴
Expand DownExpand Up@@ -2785,7 +2785,7 @@ LL │ let x: Atype<
LL │ │ Btype<
LL │ │ Ctype<
LL │ │ Atype<
LL │ │ i32
LL │ │ > = Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(Ok(O…
│ │┏━━━━━│━━━┛
Expand DownExpand Up@@ -4309,7 +4309,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim
╭▸
12 │ cargo
│ ━━━━━
18 │ zappy
╰╴
"#]];
Expand DownExpand Up@@ -4800,7 +4800,7 @@ error: consider adding a `;` to the last statement for consistent formatting
5 │ ┃ if *x > 0 {
6 │ ┃ println!("Positive number");
7 │ ┃ } else {
10 │ ┃ })
│ ┗━━━━━━┛
╰╴
Expand Down
22 changes: 11 additions & 11 deletionstests/rustc_tests.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,7 +77,7 @@ error: foo
2 │ fn foo() {
│ ┏━━━━━━━━━━┛
5 │ ┃ }
╰╴┗━━━┛ test
"#]];
Expand DownExpand Up@@ -1029,7 +1029,7 @@ error: foo
5 │ │ 1
6 │ │ 2
7 │ │ 3
15 │ │ X2 Y2 Z2
16 │ │ X3 Y3 Z3
╰╴ └──────────┘ `Y` is a good letter too
Expand DownExpand Up@@ -1113,7 +1113,7 @@ error: foo
10 │ ┃│ 6
11 │ ┃│ X2 Y2 Z2
│ ┃└──────────┘ `Z` is a good letter too
15 │ ┃ 10
16 │ ┃ X3 Y3 Z3
╰╴┗━━━━━━━━┛ `Y` is a good letter
Expand DownExpand Up@@ -1512,7 +1512,7 @@ LL │ Dst: TransmuteFrom<Src, {
LL │ ┃ Assume {
LL │ ┃ alignment: true,
LL │ ┃ lifetimes: true,
LL │ ┃ }>
╰╴┗━━━━━━━━━━┛ required by this bound in `is_transmutable`
"#]];
Expand DownExpand Up@@ -1806,7 +1806,7 @@ warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be
LL │ macro_rules! outer_macro {
│ ──────────────────────── in this expansion of `nested_macro_rules::outer_macro!`
LL │ ┏ macro_rules! inner_macro {
LL │ ┃ ($bang_macro:ident, $attr_macro:ident) => {
LL │ ┃ $bang_macro!($name);
Expand DownExpand Up@@ -2703,7 +2703,7 @@ error: unclosed frontmatter
╭▸ $DIR/unclosed-1.rs:1:1
LL │ ┏ ----cargo
LL │ ┃
│ ┗━┛
╰╴
Expand DownExpand Up@@ -2776,7 +2776,7 @@ error: unclosed frontmatter
╭▸ $DIR/unclosed-2.rs:1:1
LL │ ┏ ----cargo
LL │ ┃ "----"
LL │ ┃ }
│ ┗━━┛
Expand DownExpand Up@@ -2982,7 +2982,7 @@ error: unclosed frontmatter
╭▸ $DIR/unclosed-5.rs:1:1
LL │ ┏ ----cargo
LL │ ┃
│ ┗━┛
╰╴
Expand DownExpand Up@@ -4175,7 +4175,7 @@ error[E0599]: the method `quote_into_iter` exists for struct `Ipv4Addr`, but its
LL │ struct Ipv4Addr;
│ ─────────────── method `quote_into_iter` not found for this struct because it doesn't satisfy `Ipv4Addr: Iterator`, `Ipv4Addr: ToTokens`, `Ipv4Addr: proc_macro::ext::RepIteratorExt` or `Ipv4Addr: proc_macro::ext::RepToTokensExt`
LL │ let _ = quote! { $($ip)* }; //~ ERROR the method `quote_into_iter` exists for struct `Ipv4Addr`, but its trait bounds were not sat…
│ ━━━━━━━━━━━━━━━━━━ method cannot be called on `Ipv4Addr` due to unsatisfied trait bounds
Expand DownExpand Up@@ -4274,7 +4274,7 @@ error[E0220]: associated type `Pr` not found for `S<bool>` in the current scope
LL │ struct S<T>(T);
│ ─────────── associated type `Pr` not found for this struct
LL │ let _: S::<bool>::Pr = ();
│ ━━ associated item not found in `S<bool>`
Expand DownExpand Up@@ -5508,7 +5508,7 @@ error[E0599]: no method named `bar` found for struct `Thing` in the current scop
LL │ struct Thing {
│ ──────────── method `bar` not found for this struct
LL │ t.bar();
│ ━━━ method not found in `Thing`
╰╴
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp