Giter Club home page Giter Club logo

Comments (1)

favonia avatar favonia commented on July 30, 2024

After checking real error messages from the Rust compiler, I feel more negative about this idea. For example, it seems sometimes it's a duplication of the (primary) label:

error[E0277]: `()` is not an iterator
  --> $DIR/conservative_impl_trait.rs:3:33
   |
LL | fn will_ice(something: &u32) -> impl Iterator<Item = &u32> {
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not an iterator
   |
   = help: the trait `Iterator` is not implemented for `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.

and very often the text on the primary label is missing:

error: `#[doc(alias("a"))]` expects string literals
  --> $DIR/check-doc-alias-attr.rs:19:13
   |
LL | #[doc(alias(0))]
   |             ^

In either case, they could have just put the full text on the primary label and omit the main message (as we did in asai). I therefore think it's not really useful. I also have not heard any strong support of this feature yet. Closing this as "not planned" until someone complains.

from asai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.