Git Product home page Git Product logo

Comments (8)

y21 avatar y21 commented on September 20, 2024 1

Moving to rust-lang/rust in that case, since it sounds like fixing this requires changes in the compiler and we can't do much about that on the clippy side

from rust.

CraZySacX avatar CraZySacX commented on September 20, 2024

Here is the full ICE output:

rustc-ice-2024-03-13T16_44_18-316116.txt

from rust.

CraZySacX avatar CraZySacX commented on September 20, 2024

Turns out I was missing diagnostic_namespace in my deny list. Not sure if that should be an ICE or not, feel free to close if that is expected behavior.

This wasn't a fix, the behavior still happened.

from rust.

y21 avatar y21 commented on September 20, 2024

Does this specifically only happen with clippy, or does this ICE also happen with a regular cargo check/cargo build? The backtrace and the fact that these are all rustc lints/features makes me think it's a bug in the compiler

from rust.

CraZySacX avatar CraZySacX commented on September 20, 2024

cargo check and cargo build both produce the same ICE.

from rust.

GrigorenkoPV avatar GrigorenkoPV commented on September 20, 2024

From what I can tell, MCVE is

#![deny(unknown_or_malformed_diagnostic_attributes)]

or, alternatively,

#![feature(diagnostic_namespace)]
#![deny(unknown_or_malformed_diagnostic_attributes)]

from rust.

GrigorenkoPV avatar GrigorenkoPV commented on September 20, 2024

searched nightlies: from nightly-2024-01-01 to nightly-2024-03-12
regressed nightly: nightly-2024-03-09
searched commit range: 9c3ad80...46b180e
regressed commit: 9823f17

bisected with cargo-bisect-rustc v0.6.8

Host triple: x86_64-unknown-linux-gnu
Reproduce with:

cargo bisect-rustc -vv --preserve --start=2024-01-01 --end=2024-03-12 --access=github --regress ice 

Probably #119888, cc @weiznich

from rust.

weiznich avatar weiznich commented on September 20, 2024

I filled #122482 to address this

from rust.

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.