Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
12c32e944d3dbadb6a114a6e0bc51b065b4f42c1
rust/src/test/compile-fail/extern-no-call.rs

7 lines
112 B
Rust
Raw Normal View History

Introduce a T_err type for type errors This allows more errors to be non-fatal, as per #1871. I only went through and started changing span_fatal to span_err in check.rs. There are probably more errors that could be made non-fatal. So if you see derived type errors appearing from now on, file a bug! r=graydon Closes #1871
2012-11-16 19:22:48 -08:00
// error-pattern:expected function or foreign function but found `*u8`
Change crust -> extern.
2012-07-03 16:32:02 -07:00
extern fn f() {
rustc: Typecheck crust functions as *u8
2012-02-10 15:34:23 -08:00
}
fn main() {
f();
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 368ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API