Skip to content

Commit e914247

Browse files
committed
bless the change in note/help order due to migrating to SessionDiagnostic
1 parent 33cbbc2 commit e914247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/type_length_limit.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ error: reached the type-length limit while instantiating `std::mem::drop::<Optio
44
LL | pub fn drop<T>(_x: T) {}
55
| ^^^^^^^^^^^^^^^^^^^^^
66
|
7-
= note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt'
87
= help: consider adding a `#![type_length_limit="8"]` attribute to your crate
8+
= note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt'
99

1010
error: reached the type-length limit while instantiating `<[closure@std::rt::lang_start<()...e<()>>::call_once - shim(vtable)`
1111
--> $SRC_DIR/core/src/ops/function.rs:LL:COL
1212
|
1313
LL | extern "rust-call" fn call_once(self, args: Args) -> Self::Output;
1414
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515
|
16-
= note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt'
1716
= help: consider adding a `#![type_length_limit="8"]` attribute to your crate
17+
= note: the full type name has been written to '$TEST_BUILD_DIR/type_length_limit/type_length_limit.long-type.txt'
1818

1919
error: aborting due to 2 previous errors
2020

0 commit comments

Comments
 (0)