Comments (6)
Cc @estebank since you did #127374, might be a quick fixup
from rust.
@rustbot claim
from rust.
It looks like that may have been fixed by b30fdec, can you check what happens on the latest nightly? (Unfortunately the playground hasn't been updated to something recent enough yet).
from rust.
rustc 1.82.0-nightly (7c2012d 2024-07-26)
The cargo check output doesn't seem to have changed
from rust.
It looks like that may have been fixed by b30fdec, can you check what happens on the latest nightly? (Unfortunately the playground hasn't been updated to something recent enough yet).
In the example of b30fdec, it seems that the test case does not include a comma that removes the first parameter, but rather the tail parameter
from rust.
This doesn't seem to remove the comma on the left either
type Result<T> = std::result::Result<T, ()>;
fn foo() -> Result<(), 'static> { Ok(()) }
fn main() { }
output:
error[E0107]: type alias takes 0 lifetime arguments but 1 lifetime argument was supplied
--> src/main.rs:3:13
|
3 | fn foo() -> Result<(), 'static> { Ok(()) }
| ^^^^^^ ------- help: remove the lifetime argument
| |
| expected 0 lifetime arguments
|
note: type alias defined here, with 0 lifetime parameters
--> src/main.rs:1:6
|
1 | type Result<T> = std::result::Result<T, ()>;
| ^^^^^^
For more information about this error, try `rustc --explain E0107`.
error: could not compile `test2` (bin "test2") due to 1 previous error
from rust.
Related Issues (20)
- ICE when combining `asm_const` and `const_refs_to_static` HOT 1
- The `#[pointee]` attribute is required even if there is only one generic parameter HOT 2
- `repr_transparent_external_private_fields` lint fires on `ManuallyDrop` containing a ZST HOT 1
- f16 usage triggers a compiler internal error, despite good error messages HOT 1
- Confusing Error when accidentally constructing a type alias with array of fixed size for struct that is generic over an array size HOT 1
- Unstable Feature Usage Metrics
- Wasm ABI special cases scalar pairs (against tool conventions) and is not documented HOT 11
- HWasan with external clang runtime (undefined symbol: __hwasan_tls) HOT 4
- ICE: `assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32` HOT 2
- [BUG] unexpected error
- build_helper::git uses the upstream/master branch to tell if a file has been modified, but this branch is never automatically updated. HOT 4
- LLVM generates branch soup for array partition point HOT 5
- [rustdoc search] allow setting crates to search in before showing results HOT 4
- (Anti-)regression between Rust 1.78.0 and Rust 1.79.0 with struct containing `Cow<[Self]>` HOT 8
- ICE: rustc-LLVM ERROR: Broken module found, compilation aborted! HOT 3
- Making default case always the last case in a `match` expression HOT 2
- Compile-time semantics of ub_checks intrinsic are unsound HOT 4
- ICE when implementing a generic trait + generic supertrait (and default values) HOT 1
- rust compile error HOT 3
- Compiler does not recognize the reserve-r9 target feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.