We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b524991 commit ccef306Copy full SHA for ccef306
src/test/ui/traits/trait-object-vs-lifetime.rs
@@ -25,4 +25,5 @@ fn main() {
25
//~| ERROR wrong number of type arguments: expected 1, found 0
26
let _: S<'static +, 'static>;
27
//~^ ERROR lifetime parameters must be declared prior to type parameters
28
+ //~| ERROR at least one non-builtin trait is required for an object type
29
}
0 commit comments