Update trybuild tests for Rust 1.68 (#8002)
This commit is contained in:
		
							parent
							
								
									f554700108
								
							
						
					
					
						commit
						b7ac5d5121
					
				@ -18,7 +18,7 @@ note: required by a bound in `_::assert_readonly`
 | 
			
		||||
 --> tests/ui/world_query_derive.rs:7:10
 | 
			
		||||
  |
 | 
			
		||||
7 | #[derive(WorldQuery)]
 | 
			
		||||
  |          ^^^^^^^^^^ required by this bound in `_::assert_readonly`
 | 
			
		||||
  |          ^^^^^^^^^^ required by this bound in `assert_readonly`
 | 
			
		||||
  = note: this error originates in the derive macro `WorldQuery` (in Nightly builds, run with -Z macro-backtrace for more info)
 | 
			
		||||
 | 
			
		||||
error[E0277]: the trait bound `MutableMarked: ReadOnlyWorldQuery` is not satisfied
 | 
			
		||||
@ -41,5 +41,5 @@ note: required by a bound in `_::assert_readonly`
 | 
			
		||||
  --> tests/ui/world_query_derive.rs:18:10
 | 
			
		||||
   |
 | 
			
		||||
18 | #[derive(WorldQuery)]
 | 
			
		||||
   |          ^^^^^^^^^^ required by this bound in `_::assert_readonly`
 | 
			
		||||
   |          ^^^^^^^^^^ required by this bound in `assert_readonly`
 | 
			
		||||
   = note: this error originates in the derive macro `WorldQuery` (in Nightly builds, run with -Z macro-backtrace for more info)
 | 
			
		||||
 | 
			
		||||
@ -24,7 +24,7 @@ note: required for `Foo<NoReflect>` to implement `Reflect`
 | 
			
		||||
  --> tests/reflect_derive/generics.fail.rs:3:10
 | 
			
		||||
   |
 | 
			
		||||
3  | #[derive(Reflect)]
 | 
			
		||||
   |          ^^^^^^^
 | 
			
		||||
   |          ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
 | 
			
		||||
4  | struct Foo<T> {
 | 
			
		||||
   |        ^^^^^^
 | 
			
		||||
   = note: required for the cast from `Foo<NoReflect>` to the object type `dyn Reflect`
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user