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
aee7012fab26d5e307a2fe767e4e7c847c5a45ee
rust/src/test/ui/parser/trait-bounds-not-on-impl.rs

12 lines
160 B
Rust
Raw Normal View History

tests: Do not use `-Z parse-only`, continue compilation to test recovery
2019-01-06 18:33:05 +03:00
// compile-flags: -Z continue-parse-after-error
Return nonzero exit code if there are errors at a stop point
2015-02-09 20:01:45 +01:00
Add tests for not-kind-checked trait bounds.
2013-06-19 13:55:30 -04:00
trait Foo {
}
struct Bar;
syntax: Rewrite parsing of impls Properly parse impls for the never type `!` Recover from missing `for` in `impl Trait for Type` Prohibit inherent default impls and default impls of auto traits Change wording in more diagnostics to use "auto traits" Some minor code cleanups in the parser
2017-12-02 22:15:03 +03:00
impl Foo + Owned for Bar { //~ ERROR expected a trait, found type
Add tests for not-kind-checked trait bounds.
2013-06-19 13:55:30 -04:00
}
fn main() { }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2921ms 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