Ed Page

Results 596 issues of Ed Page

I'd like to have a function return a Snippet but `origin` is a `&str` and I have a `PathBuf`. I can convert it to a `Cow` but I wouldn't be...

At the layer I want to be creating `Snippet`s, I won't know whether colored formatting is appropriate or not. That seems like a concern for when converting into a `DisplayList`.

I am creating a tool that needs to report messages on the file itself and not a specific range within the file. I'd like these messages to be consistent with...

C-enhancement

When running `cargo install foo`, if my rust version is too old, I'll get compilation errors. If the failing crate sets `rust-version`, then I'll get a nice error message about...

Command-install
C-feature-request
S-blocked

### Problem When running `cargo add foo`, we create a version-req out of the latest version in the index. If this has a higher `rust-version`, then that can break for...

C-feature-request
Command-add

docs.rs treats `_` prefixed features as hidden. `cargo add` should reflect that in reporting features to the user. The question is if we should unconditionally hide the features, hide them...

C-bug
Command-add

### Problem When I create a new workspace, `cargo new` populates some fields but leaves me to fill in the rest. If I run it within a workspace with `workspace.package`...

Command-new
C-feature-request

### Problem `cargo add` can modify existing entries, like adding more features. When using a standard table (as opposed to an inline table, see #10849), comments get deleted. ### Steps...

C-bug
Command-add

In considering feedback on my use of bstr for 1.0 (see #40), one annoyance that stood out to me is having to convert things back to a `BStr` when doing...

The change for 1.0 mentioned in #40 > ByteVec::into_os_string now returns Result instead of Result. Made me consider this. In the docs, it says > 1. One could re-implement WTF-8...