UI tests: add missing diagnostic kinds where possible
This commit is contained in:
parent
d4f880f8ce
commit
b3f75353a2
370 changed files with 930 additions and 928 deletions
|
@ -47,7 +47,7 @@ pub fn baz() {}
|
|||
///
|
||||
/// Indented block end
|
||||
pub fn quux() {}
|
||||
//~^^^^^ could not parse code block as Rust code
|
||||
//~^^^^^ WARN could not parse code block as Rust code
|
||||
|
||||
/// Unclosed fence
|
||||
///
|
||||
|
|
|
@ -5,10 +5,10 @@ use std::ops::Index;
|
|||
pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
|
||||
//~^ expected 1 lifetime argument
|
||||
//~| expected 1 generic argument
|
||||
//~| the trait `SVec` is not dyn compatible
|
||||
//~| ERROR the trait `SVec` is not dyn compatible
|
||||
//~| `SVec` is not dyn compatible
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
let _ = s;
|
||||
}
|
||||
|
||||
|
@ -16,52 +16,52 @@ pub trait SVec: Index<
|
|||
<Self as SVec>::Item,
|
||||
//~^ expected 1 lifetime argument
|
||||
//~| expected 1 generic argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
Output = <Index<<Self as SVec>::Item,
|
||||
//~^ expected 1 lifetime argument
|
||||
//~| expected 1 generic argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
Output = <Self as SVec>::Item> as SVec>::Item,
|
||||
//~^ expected 1 lifetime argument
|
||||
//~| expected 1 generic argument
|
||||
//~| expected 1 lifetime argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| expected 1 generic argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
> {
|
||||
type Item<'a, T>;
|
||||
|
||||
fn len(&self) -> <Self as SVec>::Item;
|
||||
//~^ expected 1 lifetime argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
//~| expected 1 generic argument
|
||||
//~| missing generics for associated type `SVec::Item`
|
||||
//~| ERROR missing generics for associated type `SVec::Item`
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://github.com/rust-lang/rust/issues/102986
|
||||
struct Struct {
|
||||
y: (typeof("hey"),),
|
||||
//~^ `typeof` is a reserved keyword but unimplemented
|
||||
//~^ ERROR `typeof` is a reserved keyword but unimplemented
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue