You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static TEST: &'static str = &"paolo";
let myVar = "paolo";
let rt = match myVar {
TEST => "it's me",
_ => "not me"
};
println(rt);
I get
$ rustc test.rs
Assertion failed: (i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]-> getType()) && "Calling a function with a bad signature!", file d:/Heather/Contrib/P/rust/src/llvm/lib/IR/Instructions.cpp, line 281
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
The text was updated successfully, but these errors were encountered:
…p1995
Add `lint_groups_priority` lint
Warns when a lint group in Cargo.toml's `[lints]` section shares the same priority as a lint. This is in the cargo section but is categorised as `correctness` so it's on by default, it doesn't call `cargo metadata` though and parses the `Cargo.toml` directly
The lint should be temporary until rust-lang/cargo#12918 is resolved, but in the meanwhile this is an common issue to run into
- rust-lang#11237
- rust-lang#11751
- rust-lang#11830
changelog: Add [`lint_groups_priority`] lint
r? `@flip1995`
I was trying to get a hang of how pattern matching works with constants and I may have hit a bug.
Rust nighlty on windows: rustc.exe 0.9-pre (b5b570b 2013-12-29
18:46:57 -0800)
host: i686-pc-mingw32
I get
$ rustc test.rs
Assertion failed: (i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]-> getType()) && "Calling a function with a bad signature!", file d:/Heather/Contrib/P/rust/src/llvm/lib/IR/Instructions.cpp, line 281
The text was updated successfully, but these errors were encountered: